fig17.13
来自「UNIX环境高级编程书的源代码」· 13 代码 · 共 13 行
13
13 行
#include "apue.h"#include <sys/socket.h>/* * Returns a full-duplex "stream" pipe (a UNIX domain socket) * with the two file descriptors returned in fd[0] and fd[1]. */ints_pipe(int fd[2]){ return(socketpair(AF_UNIX, SOCK_STREAM, 0, fd));}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?