diff options
author | Thomas Bushnell <thomas@gnu.org> | 1997-02-25 21:28:37 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1997-02-25 21:28:37 +0000 |
commit | f07a4c844da9f0ecae5bbee1ab94be56505f26f7 (patch) | |
tree | 12b07c7e578fc1a5f53dbfde2632408491ff2a70 /include/mach/sa/unistd.h |
Initial source
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_ */ |