Constructors
Declared in <util/subprocess.h>
Sets up the error channel as a pipe, or as a copy of standard output.
explicit
error(IOTYPE typ);
» more...
Uses an already open file descriptor as the child's error channel.
explicit
error(int fd);
» more...
Uses the descriptor of an open FILE stream as the child's error channel.
explicit
error(FILE* fp);
» more...
Opens a file for appending and uses it as the child's error channel.
explicit
error(char const* filename);
» more...
| Name | Description |
|---|---|
| typ | Channel type, either PIPE or STDOUT; STDOUT defers wiring until all arguments are known. |
| fd | Writable file descriptor to capture the child's error output. |
| fp | Open FILE stream whose descriptor is used. |
| filename | Path of the file to create or append to. |