代码搜索:execve
找到约 549 项符合「execve」的源代码
代码结果 549
www.eeworm.com/read/380485/9145309
c execve.c
/*
* linux/lib/execve.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include
_syscall3(int,execve,const char *,file,char **,argv,char **,envp)
www.eeworm.com/read/379736/9179676
c execve.c
/*
* linux/lib/execve.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include
_syscall3(int,execve,const char *,file,char **,argv,char **,envp)
www.eeworm.com/read/379714/9181008
c execve.c
/*
* linux/lib/execve.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include
_syscall3(int,execve,const char *,file,char **,argv,char **,envp)
www.eeworm.com/read/379711/9181317
c execve.c
/*
* linux/lib/execve.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*/
#define __LIBRARY__
#include
_syscall3(int,execve,const char *,file,char **,argv,char **,envp)
www.eeworm.com/read/181669/9241727
c execve.c
/*
* linux/lib/execve.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include
_syscall3(int,execve,const char *,file,char **,argv,char **,envp)
www.eeworm.com/read/374989/9376332
c execve.c
#include
#include
#include
int main(int argc,char * argv[],char ** environ)
{
pid_t pid;
int stat_val;
printf("Exec example!\n");
pid = fork();
www.eeworm.com/read/174735/9575060
c execve.c
#include
#include
#include
int main()
{
char *arg[]={"env",NULL};
char *envp[]={"PATH=/tmp","USER=sunq",NULL};
if(fork()==0){
if(("b
www.eeworm.com/read/365428/9863658
c execve.c
/*
* linux/lib/execve.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include // Linux 标准头文件。定义了各种符号常数和类型,并申明了各种函数。
// 如定义了__LIBRARY__,则还包括系统调用号和内嵌汇编_syscall0()等。
//// 加载并执行子进程(其它程
www.eeworm.com/read/166020/10040998
c execve.c
#include
#include
#include
int main()
{
/*命令参数列表,必须以NULL结尾*/
char *arg[]={"env",NULL};
char *envp[]={"PATH=/tmp","USER=sunq",NULL};
if(fork()==0){
if(ex
www.eeworm.com/read/163079/10175328
c execve.c
/*
* linux/lib/execve.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*/
#define __LIBRARY__
#include
_syscall3(int,execve,const char *,file,char **,argv,char **,envp)