mescc: Mes C Library: Support make: Add chdir, getlogin, setvbuf, sigblock.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 26 Aug 2018 20:41:52 +0000 (22:41 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 26 Aug 2018 20:41:52 +0000 (22:41 +0200)
commit8b9d51e4a418fca8ece711aa5e26fa6cbe7913af
treedb57451f7ccbffec4eab3908b8867656c0fbf9a5
parent543ae4df3261e90262c4ff05554ddd89177d6195
mescc: Mes C Library: Support make: Add chdir, getlogin, setvbuf, sigblock.

* lib/stub/getlogin.c: New file.
* lib/stub/setvbuf.c: New file.
* lib/stub/sigblock.c: New file.
* lib/libc+gnu.c: Include them.
* include/linux/x86/syscall.h (SYS_chdir): New macro.
* include/linux/x86_64/syscall.h (SYS_chdir): New macro.
* include/stdio.h (_IOFBF, _IOLBF, _IONBF): New macro.
* include/errno.h (ENOEXEC, ECHILD): New macro.
* include/sys/wait.h (WNOHANG): New macro.
* lib/linux/gnu.c (chdir): New function.
* include/ar.h: New file.
12 files changed:
include/ar.h [new file with mode: 0644]
include/errno.h
include/linux/x86/syscall.h
include/linux/x86_64/syscall.h
include/stdio.h
include/string.h
include/sys/wait.h
lib/libc+gnu.c
lib/linux/gnu.c
lib/stub/getlogin.c [new file with mode: 0644]
lib/stub/setvbuf.c [new file with mode: 0644]
lib/stub/sigblock.c [new file with mode: 0644]