Similar to the UNIX
pipe() call, but on modern systems like Linux
pipe2() system call, which atomically creates a pipe with
the configured flags. The only supported flag currently is
FD_CLOEXEC. If for example you want to configure
must still be done separately with fcntl().
This function does not take
O_CLOEXEC, it takes
FD_CLOEXEC as if
for fcntl(); these are different on Linux/glibc.
Available since: 2.30
Type: An array of
Array of two integers.
The array must have 2 elements. The data is owned by the caller of the function.
Bitfield of file descriptor flags, as for
The return location for a recoverable error.
The argument can be
If the return location is not
NULL, then you must initialize it to a
The argument will left initialized to
NULLby the function if there are no errors.
In case of error, the argument will be set to a newly allocated
GError; the caller will take ownership of the data, and be responsible for freeing it.