shell.h (583B)
1 #pragma once 2 3 #include <stddef.h> // IWYU pragma: keep 4 5 // Flags for os_call_shell() second argument 6 typedef enum { 7 kShellOptFilter = 1, ///< filtering text 8 kShellOptExpand = 2, ///< expanding wildcards 9 kShellOptDoOut = 4, ///< redirecting output 10 kShellOptSilent = 8, ///< don't print error returned by command 11 kShellOptRead = 16, ///< read lines and insert into buffer 12 kShellOptWrite = 32, ///< write lines from buffer 13 kShellOptHideMess = 64, ///< previously a global variable from os_unix.c 14 } ShellOpts; 15 16 #include "os/shell.h.generated.h"