From 0e57a92cc388c377de3940d12ac6131c698f5581 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 19 May 2009 14:15:43 +0100 Subject: minios: Implement some extra lib functions for ocaml xenstored stubdom We could stub them out as unsupported, but we may as well implement them as they are very simple. Signed-off-by: Alex Zeffertt --- extras/mini-os/include/posix/unistd.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'extras/mini-os/include') diff --git a/extras/mini-os/include/posix/unistd.h b/extras/mini-os/include/posix/unistd.h index 51047825c5..e85592f314 100644 --- a/extras/mini-os/include/posix/unistd.h +++ b/extras/mini-os/include/posix/unistd.h @@ -3,8 +3,14 @@ #include_next +uid_t getuid(void); +uid_t geteuid(void); +gid_t getgid(void); +gid_t getegid(void); +int gethostname(char *name, size_t namelen); size_t getpagesize(void); int ftruncate(int fd, off_t length); int lockf(int fd, int cmd, off_t len); +int nice(int inc); #endif /* _POSIX_UNISTD_H */ -- cgit v1.2.3