mes/lib
Jan Nieuwenhuizen e4d0298d1b
core: Support fork, waitpid, execve.
* 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.
2018-05-24 19:54:42 +02:00
..
crt1.c build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
getopt.c build: mlib/include to include, move mlib to lib. 2017-11-22 16:23:48 +01:00
libc+tcc-gcc.c tinycc: Add stubs: __fixdfdi, __fixxfdi, __fixsfdi. 2018-05-21 08:43:58 +02:00
libc+tcc-mes.c mlibc: New library layout; remove duplication. 2017-12-03 13:56:21 +01:00
libc+tcc.c mescc: Add fopen. 2018-05-26 16:33:00 -04:00
libc-gcc.c mlibc: New library layout; remove duplication. 2017-12-03 13:56:21 +01:00
libc-mes.c mlibc: New library layout; remove duplication. 2017-12-03 13:56:21 +01:00
libc.c core: Support fork, waitpid, execve. 2018-05-24 19:54:42 +02:00
linux+tcc-gcc.c mlibc: New library layout; remove duplication. 2017-12-03 13:56:21 +01:00
linux+tcc-mes.c mlibc: New library layout; remove duplication. 2017-12-03 13:56:21 +01:00
linux-gcc.c core: Support fork, waitpid, execve. 2018-05-24 19:54:42 +02:00
linux-mes.c core: Support fork, waitpid, execve. 2018-05-24 19:54:42 +02:00
mini-libc-gcc.c mlibc: New library layout; remove duplication. 2017-12-03 13:56:21 +01:00
mini-libc-mes.c build: Build mini-libc and libc+tcc-gcc too. 2018-05-23 18:41:57 +02:00
mini-libc.c build: Build mini-libc and libc+tcc-gcc too. 2018-05-23 18:41:57 +02:00
mini-linux-gcc.c mlibc: New library layout; remove duplication. 2017-12-03 13:56:21 +01:00
mini-linux-mes.c mlibc: New library layout; remove duplication. 2017-12-03 13:56:21 +01:00