diff options
Diffstat (limited to 'include/mach/sa/unistd.h')
-rw-r--r-- | include/mach/sa/unistd.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/mach/sa/unistd.h b/include/mach/sa/unistd.h new file mode 100644 index 0000000..d3c313d --- /dev/null +++ b/include/mach/sa/unistd.h @@ -0,0 +1,18 @@ +#ifndef _UNISTD_H_ +#define _UNISTD_H_ + +#include <sys/cdefs.h> +#include <sys/types.h> + +__BEGIN_DECLS + +__DECL(int,close(int fd)); +__DECL(int,read(int fd, void *buf, unsigned int n)); +__DECL(int,write(int fd, const void *buf, unsigned int n)); +__DECL(off_t,lseek(int fd, off_t offset, int whence)); +__DECL(int,rename(const char *oldpath, const char *newpath)); +__DECL(void *,sbrk(int size)); + +__END_DECLS + +#endif /* _UNISTD_H_ */ |