NAME open, openat, creat - open and possibly create a file LIBRARY Standard C library ( libc ... SYNOPSIS #include int open(const char * pathname , int flags , ... /* mode_t mode…NAME open, openat, creat - open and possibly create a file LIBRARY Standard C library ( libc ... SYNOPSIS #include int open(const char * pathname , int flags , ... /* mode_t mode…NAME name_to_handle_at, open_by_handle_at - obtain handle for a pathname ... open file via a handle LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #define _GNU_SOURCENAME open, openat, creat - open and possibly create a file LIBRARY Standard C library ( libc ... SYNOPSIS #include int open(const char * pathname , int flags , ... /* mode_t mode…NAME openat2 - open and possibly create a file (extended) LIBRARY Standard C library ( libc ... openat2, int dirfd , const char * pathname , struct open_how * how , size_t size ); …operations described below on the open file descriptor fd . The operation is determined ... description of O_CLOEXEC in open (2). File descriptor flags The following operations man…operations described below on the open file descriptor fd . The operation is determined ... description of O_CLOEXEC in open (2). File descriptor flags The following operations man…NAME name_to_handle_at, open_by_handle_at - obtain handle for a pathname ... open file via a handle LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #define _GNU_SOURCENAME perf_event_open - set up performance monitoring LIBRARY Standard C library ( libc , -lc ) SYNOPSIS ... constants */ #include int syscall(SYS_perf_event_open, struct perf_eve…NAME mq_open - open a message queue LIBRARY Real-time library ( librt , -lrt ) SYNOPSIS #include ... mode constants */ #include mqd_t mq_open(const char * name , int oflagNAME pidfd_open - obtain a file descriptor that refers to a process LIBRARY Standard ... constants */ #include int syscall(SYS_pidfd_open, pid_t pid , unsigned int flags ); Note …typically used to suppress events (e.g., FAN_OPEN ) for a specific file, until that specific ... only file or directory is closed. FAN_OPEN Create an event when a fileRDONLY , but the mount still holds files open for writing. EBUSY The caller tried ... mount still holds files open for writing. EINVAL The pathname specified via the dirfdfile descriptor that refers to the same open file description as the descriptor oldfd ... explanation of open file descriptions, see open (2).) The new file descriptor number is gu…file descriptor that refers to the same open file description as the descriptor oldfd ... explanation of open file descriptions, see open (2).) The new file descriptor number is gu…file descriptor that refers to the same open file description as the descriptor oldfd ... explanation of open file descriptions, see open (2).) The new file descriptor number is gu…contains a file descriptor for an open file. If this field is negative, then ... been consumed. POLLNVAL Invalid request: fd not open (only returned in revents ; ignored in eventscontains a file descriptor for an open file. If this field is negative, then ... been consumed. POLLNVAL Invalid request: fd not open (only returned in revents ; ignored in eventsprocess pid1 refers to the same open file description (see open (2)) as file descriptor ... file descriptors that refer to the same open file description can occur as a resultwell as for the (probably preferred) open file description locks. If fd is the last ... file descriptor referring to the underlying open file description (see open (2)), the resour…