...on may extend past current end-of-file. On Linux, lockf () is just an interface on top of fcntl (2) locking. Many other systems implement lockf () in this way, but note that POS…...) SYNOPSIS #include <sys/mman.h> #include <sys/stat.h> /* For mode constants */ #include <fcntl.h> /* For O_* constants */ int shm_open(const char * name , int oflag , mode_t mo…...) SYNOPSIS #include <sys/mman.h> #include <sys/stat.h> /* For mode constants */ #include <fcntl.h> /* For O_* constants */ int shm_open(const char * name , int oflag , mode_t mo…...med semaphore LIBRARY POSIX threads library ( libpthread , -lpthread ) SYNOPSIS #include <fcntl.h> /* For O_* constants */ #include <sys/stat.h> /* For mode constants */ #includ…...open - open a message queue LIBRARY Real-time library ( librt , -lrt ) SYNOPSIS #include <fcntl.h> /* For O_* constants */ #include <sys/stat.h> /* For mode constants */ #includ…...l device LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <stdlib.h> #include <fcntl.h> int posix_openpt(int flags ); Feature Test Macro Requirements for glibc (see f…...== 1) { if (recv(sockfd, &oobdata, 1, MSG_OOB) == -1) { perror("recv"); ... } } SEE ALSO fcntl (2), recv (2), send (2), tcp (7)...locate - allocate file space LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <fcntl.h> int posix_fallocate(int fd , off_t offset , off_t len ); Feature Test Macro Re…...ps with nanosecond precision LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include <fcntl.h> /* Definition of AT_* constants */ #include <sys/stat.h> int utimensat(int dir…...ypes.h> #include <sys/stat.h> int mkfifo(const char * pathname , mode_t mode ); #include <fcntl.h> /* Definition of AT_* constants */ #include <sys/stat.h> int mkfifoat(int dirf…...ypes.h> #include <sys/stat.h> int mkfifo(const char * pathname , mode_t mode ); #include <fcntl.h> /* Definition of AT_* constants */ #include <sys/stat.h> int mkfifoat(int dirf…...** b ); int versionsort(const struct dirent ** a , const struct dirent ** b ); #include <fcntl.h> /* Definition of AT_* constants */ #include <dirent.h> int scandirat(int dirfd …...** b ); int versionsort(const struct dirent ** a , const struct dirent ** b ); #include <fcntl.h> /* Definition of AT_* constants */ #include <dirent.h> int scandirat(int dirfd …...** b ); int versionsort(const struct dirent ** a , const struct dirent ** b ); #include <fcntl.h> /* Definition of AT_* constants */ #include <dirent.h> int scandirat(int dirfd …...ue/msg_default 10 $ cat /proc/sys/fs/mqueue/msgsize_default 8192 Program source #include <fcntl.h> #include <mqueue.h> #include <stdio.h> #include <stdlib.h> #include <sys/stat.…...ue/msg_default 10 $ cat /proc/sys/fs/mqueue/msgsize_default 8192 Program source #include <fcntl.h> #include <mqueue.h> #include <stdio.h> #include <stdlib.h> #include <sys/stat.…...** b ); int versionsort(const struct dirent ** a , const struct dirent ** b ); #include <fcntl.h> /* Definition of AT_* constants */ #include <dirent.h> int scandirat(int dirfd …...ibc , -lc ) SYNOPSIS #include <sys/types.h> #include <limits.h> #include <db.h> #include <fcntl.h> DB *dbopen(const char * file , int flags , int mode , DBTYPE type , const void…...ibc , -lc ) SYNOPSIS #include <sys/types.h> #include <limits.h> #include <db.h> #include <fcntl.h> DB *dbopen(const char * file , int flags , int mode , DBTYPE type , const void…...of the following flags: ST_MANDLOCK Mandatory locking is permitted on the filesystem (see fcntl (2)). ST_NOATIME Do not update access times; see mount (2). ST_NODEV Disallow acc…