📄 testbdp.c
字号:
/* * testbpd.c - test bidirectional pipes */main(){ int p[2]; if ( pipe(p) == -1 ) exit(1); if ( write(p[0], "hello", 5) == -1 ) perror("write into pipe[0] failed"); else printf("write into pipe[0] worked\n");}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -