Header related to the Config Parser.
int crinitIoRedirCpy(crinitIoRedir_t *dest, const crinitIoRedir_t *src)
Definition: ioredir.c:22
struct crinitIoRedir_t crinitIoRedir_t
void crinitDestroyIoRedir(crinitIoRedir_t *ior)
Definition: ioredir.c:18
int oldFd
The file descriptor to redirect to, called 'oldFd' equivalent to the man page for dup2()
Definition: ioredir.h:16
int newFd
The file descriptor to redirect, called 'newFd' equivalent to the man page for dup2()
Definition: ioredir.h:15
bool fifo
If true, the target at crinitIoRedir_t::path is treated as a FIFO special file (named pipe).
Definition: ioredir.h:22
int oflags
Definition: ioredir.h:19
char * path
Definition: ioredir.h:17
mode_t mode
The value to use as mode in the call to open if crinitIoRedir_t::path is used, for example 0644.
Definition: ioredir.h:21