#include <sys/tapes.h> #include <sys/stat.h> #include <fcntl.h> int open(const char* pathname, int flags); int open(const char* pathname, int flags, mode_t mode);
#include <sys/types.h> #include <unistd.h> ssize_t read(int fd, void *buf, size_t count); ssize_t write(int fd, cosnt void *buf, size_t count); off_t lseek(int fildes, off_t offset, int whence);
SEEK_SET SEEK_CUR SEEK_END
#include <unistd.h> int dup(int oldfd); int dup2(int oldfd, int newfd);
STDIN_FILENO STDOUT_FILENO STDERR_FILENO
To be done: