diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-01-21 19:58:28 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-01-21 19:58:28 +0200 |
commit | 891bb67de28c778827d4841b04d440caac8be18a (patch) | |
tree | d0bea7989ba987122a2296ef4adffeb8a5178971 /src/pies.h | |
parent | cb8b9461907373485acabb90bc1cad5263abc8b8 (diff) | |
download | pies-891bb67de28c778827d4841b04d440caac8be18a.tar.gz pies-891bb67de28c778827d4841b04d440caac8be18a.tar.bz2 |
New component flag: nullinput
* NEWS: Update.
* doc/pies.texi: Document nullinput flag.
* src/pies.c (str_to_cf): New flag: nullinput
* src/pies.h (CF_NULLINPUT): New flag.
* src/progman.c (prog_start): If CF_NULLINPUT flag is set,
redirect /dev/null to the stdin
Diffstat (limited to 'src/pies.h')
-rw-r--r-- | src/pies.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -202,6 +202,8 @@ enum pies_comp_mode #define CF_RESOLVE 0x080 /* Resolve IP addresses */ #define CF_SIGGROUP 0x100 /* Send signals to the process group */ +#define CF_NULLINPUT 0x200 /* Provide null input stream */ + #define ISCF_TCPMUX(f) ((f) & (CF_TCPMUX | CF_TCPMUXPLUS)) struct component |