From 9e98d6893df6aaa866f4cee5a680b69a9e93f8e8 Mon Sep 17 00:00:00 2001 From: dosisod <39638017+dosisod@users.noreply.github.com> Date: Thu, 1 Apr 2021 19:36:37 -0700 Subject: [PATCH] Add some missing prototypes (#142) --- 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);