Constructors

Synopses

Declared in <util/subprocess.h>

Sets up a pipe as the child's output channel.

explicit
output(IOTYPE typ);

Uses an already open file descriptor as the child's output.

explicit
output(int fd);

Uses the descriptor of an open FILE stream as the child's output.

explicit
output(FILE* fp);

Opens a file for appending and uses it as the child's output.

explicit
output(char const* filename);

Parameters

Name

Description

typ

Channel type, which must be PIPE.

fd

Writable file descriptor to capture the child's output.

fp

Open FILE stream whose descriptor is used.

filename

Path of the file to create or append to.

Created with MrDocs