2 0548291a 2024-06-25 op * Copyright (c) 2024 Omar Polo <op@omarpolo.com>
4 0548291a 2024-06-25 op * Permission to use, copy, modify, and distribute this software for any
5 0548291a 2024-06-25 op * purpose with or without fee is hereby granted, provided that the above
6 0548291a 2024-06-25 op * copyright notice and this permission notice appear in all copies.
8 0548291a 2024-06-25 op * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 0548291a 2024-06-25 op * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 0548291a 2024-06-25 op * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 0548291a 2024-06-25 op * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 0548291a 2024-06-25 op * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 0548291a 2024-06-25 op * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 0548291a 2024-06-25 op * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 0548291a 2024-06-25 op enum exec_mode {
18 0548291a 2024-06-25 op EXEC_FOREGROUND,
19 0548291a 2024-06-25 op EXEC_BACKGROUND,
22 0548291a 2024-06-25 op int exec_cmd(char **argv, enum exec_mode);
23 0548291a 2024-06-25 op FILE *exec_editor(void *, size_t);