URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libc/] [sys/] [linux/] [process.c] - Rev 1773
Go to most recent revision | Compare with Previous | Blame | View Log
/* libc/sys/linux/process.c - Process-related system calls */ /* Written 2000 by Werner Almesberger */ #include <sys/unistd.h> #include <sys/syscall.h> #define __NR__exit __NR_exit #define __NR__execve __NR_execve _syscall0(int,fork) _syscall0(pid_t,vfork) _syscall3(int,_execve,const char *,file,char * const *,argv,char * const *,envp) _syscall0(int,getpid) _syscall2(int,setpgid,pid_t,pid,pid_t,pgid) _syscall0(pid_t,getppid) _syscall0(pid_t,getpgrp) _syscall0(pid_t,setsid) /* FIXME: get rid of noreturn warning */ #define return for (;;) _syscall1(void,_exit,int,exitcode) #undef return
Go to most recent revision | Compare with Previous | Blame | View Log