?? p5.2.c
字號:
#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>int main(void){ int fd1; if((fd1=open("test1",O_CREAT | O_RDWR,0777))==-1){ perror("Cannot create the test2 file"); return 1; } if(close(fd1)==-1){ perror("Close call failure"); return 1; }; return 0;}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -