API 版本: 2.0
库版本: 2.83.2
由 gi-docgen 2024.1 生成
自:2.80
gboolean g_unix_pipe_open ( GUnixPipe* self, int flags, GError** error )
打开管路。这与 g_unix_open_pipe() 相同,但使用 GUnixPipe 数据结构。
GUnixPipe
可用自:2.80
此函数不直接对语言绑定可用。
self
类型: GUnixPipe
一对文件描述符。
flags
类型: int
int
传递给 g_unix_open_pipe() 的标记,通常是 O_CLOEXEC。
O_CLOEXEC
error
类型: GError **
GError **
可恢复错误的返回位置。
NULL
GError*
GError
类型: gboolean
gboolean
成功则为 TRUE。
TRUE