#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <grass/defs/spawn.h>
Go to the source code of this file.
◆ SF_ARGVEC
#define SF_ARGVEC ((const char *)9) |
◆ SF_BACKGROUND
#define SF_BACKGROUND ((const char *)7) |
◆ SF_BINDING
#define SF_BINDING ((const char *)6) |
◆ SF_CLOSE_DESCRIPTOR
#define SF_CLOSE_DESCRIPTOR ((const char *)3) |
◆ SF_DIRECTORY
#define SF_DIRECTORY ((const char *)8) |
◆ SF_MODE_APPEND
#define SF_MODE_APPEND ((const char *)(O_WRONLY | O_CREAT | O_APPEND)) |
◆ SF_MODE_IN
#define SF_MODE_IN ((const char *)(O_RDONLY)) |
◆ SF_MODE_OUT
#define SF_MODE_OUT ((const char *)(O_WRONLY | O_CREAT | O_TRUNC)) |
◆ SF_REDIRECT_DESCRIPTOR
#define SF_REDIRECT_DESCRIPTOR ((const char *)2) |
◆ SF_REDIRECT_FILE
#define SF_REDIRECT_FILE ((const char *)1) |
◆ SF_SIGNAL
#define SF_SIGNAL ((const char *)4) |
◆ SF_STDERR
#define SF_STDERR ((const char *)STDERR_FILENO) |
◆ SF_STDIN
#define SF_STDIN ((const char *)STDIN_FILENO) |
◆ SF_STDOUT
#define SF_STDOUT ((const char *)STDOUT_FILENO) |
◆ SF_VARIABLE
#define SF_VARIABLE ((const char *)5) |
◆ signal_action
Enumerator |
---|
SSA_NONE | |
SSA_IGNORE | |
SSA_DEFAULT | |
SSA_BLOCK | |
SSA_UNBLOCK | |
Definition at line 27 of file spawn.h.
◆ signal_type
Enumerator |
---|
SST_PRE | |
SST_POST | |
SST_CHILD | |
Definition at line 35 of file spawn.h.