#ifndef SYS_LINUX_UNISTD_H_ #define SYS_LINUX_UNISTD_H_ #include #include #include #include struct stat; struct pollfd; extern int open(const char *pathname, int flags, ...); extern int openat(int dirfd, const char *pathname, int flags, ...); extern ssize_t read(int fd, void *buf, size_t count); extern ssize_t write(int fd, const void *buf, size_t count); extern int close(int fd); extern off_t lseek(int fd, off_t off, int whence); extern pid_t getpid(void); extern pid_t gettid(void); #endif