int fdinit(struct fdset_s *fds, unsigned int id)
Initializes stdout/stderr files used for redirecting output from a child process. The file descriptor...
Definition fd.c:31
void fdclose(struct fdset_s *fds)
Closes the stdout and stderr file descriptors in the provided file descriptor set using close(2)....
Definition fd.c:41
A set of file descriptors for redirecting writes to stdout and stderr from child processes to log fil...
Definition fd.h:9
int out
File descriptor for writing to stdout.
Definition fd.h:10
int err
File descriptor for writing to stderr.
Definition fd.h:11