📄 execve.c
字号:
/* * execve.c - Illustrate execve */#include <unistd.h>#include <stdlib.h>#include <stdio.h>int main(void){ char *argv[] = {"/bin/ls", NULL}; if(execve("/bin/ls", argv, NULL) == -1) { perror("execve"); exit(EXIT_FAILURE); } puts("shouldn't get here"); exit(EXIT_SUCCESS);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -