debuggers.hg

view extras/mini-os/include/posix/unistd.h @ 19660:b4de3a393f21

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>
author Keir Fraser <keir.fraser@citrix.com>
date Tue May 19 14:15:43 2009 +0100 (2009-05-19)
parents 7424f989fe01
children
line source
1 #ifndef _POSIX_UNISTD_H
2 #define _POSIX_UNISTD_H
4 #include_next <unistd.h>
6 uid_t getuid(void);
7 uid_t geteuid(void);
8 gid_t getgid(void);
9 gid_t getegid(void);
10 int gethostname(char *name, size_t namelen);
11 size_t getpagesize(void);
12 int ftruncate(int fd, off_t length);
13 int lockf(int fd, int cmd, off_t len);
14 int nice(int inc);
16 #endif /* _POSIX_UNISTD_H */