e4d0298d1b
* stage0/x86.M1 (SYS_fork, SYS_waitpid, SYS_execve): New define. * lib/linux-gcc.c (fork, waitpid, execve): New function. * lib/linux-mes.c (fork, waitpid, execve): New function. * lib/libc.c (wait): New function. * include/unistd.h (fork, execve): Declare. * include/sys/wait.h (waitpid, wait): Declare. * module/mes/posix.mes (search-path, execlp, system*, waitpid): New function. * src/posix.c (primitive_fork, execl): New function. |
||
---|---|---|
.. | ||
crt1.c | ||
getopt.c | ||
libc+tcc-gcc.c | ||
libc+tcc-mes.c | ||
libc+tcc.c | ||
libc-gcc.c | ||
libc-mes.c | ||
libc.c | ||
linux+tcc-gcc.c | ||
linux+tcc-mes.c | ||
linux-gcc.c | ||
linux-mes.c | ||
mini-libc-gcc.c | ||
mini-libc-mes.c | ||
mini-libc.c | ||
mini-linux-gcc.c | ||
mini-linux-mes.c |