Method
GLibUnixPipesteal
since: 2.80
Declaration [src]
static inline int
g_unix_pipe_steal (
GUnixPipe* self,
GUnixPipeEnd end
)
Description [src]
Return one of the ends of the pipe. It becomes owned by the caller,
and the file descriptor in the data structure is set to -1,
similar to g_steal_fd().
This function is async-signal safe (see signal(7) and
signal-safety(7)), making it safe to call from a
signal handler or a GSpawnChildSetupFunc.
This function preserves the value of errno.
Available since: 2.80
This method is not directly available to language bindings.
Parameters
end-
Type:
GUnixPipeEndOne of the ends of the pipe.