API版本:2.0
库版本:2.83.2
由gi-docgen 2024.1生成
GOutputStream* g_unix_output_stream_new ( gint fd, gboolean close_fd )
为给定的文件描述符创建一个新的GUnixOutputStream对象。
如果close_fd为TRUE,当输出流被销毁时文件描述符将被关闭。
TRUE
fd
类型: gint
gint
UNIX文件描述符。
close_fd
类型: gboolean
gboolean
当操作完成时关闭文件描述符。
类型: GOutputStream
GOutputStream
一个新的GOutputStream。