diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-05-19 14:15:43 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-05-19 14:15:43 +0100 |
commit | 0e57a92cc388c377de3940d12ac6131c698f5581 (patch) | |
tree | 3a2c0d95728f9d200492ddadc1bd824c43d43f71 /extras/mini-os/include | |
parent | c1861bc6f8de70e3d86961354642870dfbcbd494 (diff) | |
download | xen-0e57a92cc388c377de3940d12ac6131c698f5581.tar.gz xen-0e57a92cc388c377de3940d12ac6131c698f5581.tar.bz2 xen-0e57a92cc388c377de3940d12ac6131c698f5581.zip |
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 <alex.zeffertt@eu.citrix.com>
Diffstat (limited to 'extras/mini-os/include')
-rw-r--r-- | extras/mini-os/include/posix/unistd.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 <unistd.h> +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 */ |