robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

bfredlMerge pull request #35206 from bfredl/nopreproc_cleanup38986188ba

master
583 B16 linesraw
1#pragma once
2
3#include <stddef.h>  // IWYU pragma: keep
4
5// Flags for os_call_shell() second argument
6typedef 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"