From 14d4a3ae41d13b1aa638ccc5ea532d7861289887 Mon Sep 17 00:00:00 2001 From: dosisod <39638017+dosisod@users.noreply.github.com> Date: Mon, 29 Mar 2021 21:33:51 -0700 Subject: [PATCH] Add missing syscalls --- libc/runtime/runtime.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/libc/runtime/runtime.h b/libc/runtime/runtime.h index 485284d11..ef34b22ff 100644 --- a/libc/runtime/runtime.h +++ b/libc/runtime/runtime.h @@ -61,6 +61,20 @@ int mprotect(void *, uint64_t, int) privileged; int msync(void *, size_t, int); void *sbrk(intptr_t); int brk(void *); +long fpathconf(int, int); +long pathconf(const char *, int); +int getgroups(int, uint32_t[]); +long gethostid(void); +int sethostid(long); +char *getlogin(void); +int getlogin_r(char *, size_t); +int lchown(const char *, uint32_t, uint32_t); +int getpagesize(void); +int syncfs(int); +int vhangup(void); +int getdtablesize(void); +int sethostname(const char *, size_t); +int acct(const char *); bool _isheap(void *); int NtGetVersion(void);