mes/lib/linux
Jan Nieuwenhuizen 9ecc11ee52
mescc: Support GNU Bash.
* include/errno.h (EACCES, ENOSPC, ESPIPE): New macro.
* include/linux/x86/syscall.h (SYS_setuid, SYS_geteuid, SYS_getegid,
SYS_setgid): New macro.
* include/linux/x86_64/syscall.h: Likewise.
* include/stdint.h (LLONG_MIN, LLONG_MAX, SIZE_MAX): New macro.
* include/sys/stat.h (S_ISUID, S_ISGID, S_IXGRP, S_IXOTH, S_IRGRP,
S_IROTH, S_IWGRP, S_IWOTH, S_IRWXG, S_IRWXO): New macro.
* include/termio.h: New file.
* include/unistd.h (_POSIX_VERSION): New macro.
* lib/linux/gnu.c (geteuid, getegid, setuid, setgid): New function.
* lib/string/memchr.c: New file.
* lib/stub/getpwuid.c: New file.
* lib/stub/rand.c: New file.
* lib/stub/ttyname.c: New file.
* include/string.h (memchr): Declare.
* include/unistd.h (geteuid, getegid, setuid, setgid): Declare.
2018-11-09 21:26:10 +01:00
..
x86-mes build: Resurrect make seed. 2018-09-30 12:15:11 +02:00
x86-mes-gcc mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
x86_64-mes build: Oops, remove stray lib/linux/x86_64-mes/crt1. 2018-10-11 21:14:14 +02:00
x86_64-mes-gcc mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
clock_gettime.c core: Support time functions. 2018-10-20 14:18:04 +02:00
gettimeofday.c core: Support time functions. 2018-10-20 14:18:04 +02:00
gnu.c mescc: Support GNU Bash. 2018-11-09 21:26:10 +01:00
libc-mini.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
libc.c core: Support time functions. 2018-10-20 14:18:04 +02:00
tcc.c core: Support time functions. 2018-10-20 14:18:04 +02:00
time.c core: Support time functions. 2018-10-20 14:18:04 +02:00