Specification of file descriptors
问题 I am trying to understand flags and modes of file descriptors. The man page for fcntl - manipulate file descriptor int fcntl(int fd, int cmd); states: File descriptor flags The following commands manipulate the flags associated with a file descriptor. Currently, only one such flag is defined: FD_CLOEXEC,... File status flags Each open file description has certain associated status flags, initialized by open(2)... The file status flags and their semantics are described in open(2). Given that