?? eof.c
字號(hào):
#include <stdio.h>#include <stdlib.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>int main(){ int fd; int ret; char c; if ((fd = open("/proc/stat",O_RDONLY)) < 0) { printf("open failed\n"); exit(1); } while ((ret = read(fd,&c,1)) > 0) printf("%c",c); if (ret == 0) printf("%c",c); return 0;}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -