1 #ifndef _LIBC_UNISTD_H 2 #define _LIBC_UNISTD_H 3 4 #include_next <unistd.h> 5 6 /* map the internal glibc interface to the public one */ 7 #define __isatty(fd) \ 8 isatty(fd) 9 10 #define __close(fd) \ 11 close(fd) 12 13 #define __read(fd, buffer, size) \ 14 read(fd, buffer, size) 15 16 #define __write(fd, buffer, size) \ 17 write(fd, buffer, size) 18 19 #define __lseek(fd, pos, whence) \ 20 lseek(fd, pos, whence) 21 22 #define __unlink(buf) \ 23 unlink(buf) 24 25 #define __getcwd(buf, size) \ 26 getcwd(buf, size) 27 28 #endif /* _LIBC_UNISTD_H */ 29