libroot/posix/stdio: Remove unused portions.
[haiku.git] / src / system / libroot / posix / glibc / include / unistd.h
blobe0571c7915c55d7ca03269d9895fe8ec10fc2805
1 #ifndef _LIBC_UNISTD_H
2 #define _LIBC_UNISTD_H
4 #include_next <unistd.h>
6 /* map the internal glibc interface to the public one */
7 #define __isatty(fd) \
8 isatty(fd)
10 #define __close(fd) \
11 close(fd)
13 #define __read(fd, buffer, size) \
14 read(fd, buffer, size)
16 #define __write(fd, buffer, size) \
17 write(fd, buffer, size)
19 #define __lseek(fd, pos, whence) \
20 lseek(fd, pos, whence)
22 #define __unlink(buf) \
23 unlink(buf)
25 #define __getcwd(buf, size) \
26 getcwd(buf, size)
28 #endif /* _LIBC_UNISTD_H */