📄 program6.c~
字号:
#include <sys/types.h>#include <sys/stat.h>#include <stdio.h>#include <fcntl.h>main(){int fd,n;int fdnum1;char buf[256];fd = open("fifo",O_RDONLY);creat("copyfile7",0660);fdnum1 = open("copyfile7",O_RDWR);while((n=read(fd,buf,sizeof(buf)))>0){//puts(buf);write(1,buf,n);}close(fd);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -