?? jerry.c
字號(hào):
/* jerry.c v4.0 */#include <unistd.h>#include <sys/types.h>#include <sys/stat.h>#include <sys/wait.h>#include <fcntl.h>#include <stdlib.h>#include <stdio.h>static void pid2str(char * str, pid_t pid){ sprintf(str, "%d", pid);}int main(int argc, char* argv[]){ pid_t pid; char spid[256]; pid = getpid(); pid2str(spid, pid); printf("from TOM %s to Jerry %s: %s\n", argv[1], spid , argv[2]); exit(EXIT_SUCCESS);}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -