...d , struct linux_dirent * dirp , unsigned int count ); #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <dirent.h> ssize_t getdents64(int fd , void dirp [. count ],…...d , struct linux_dirent * dirp , unsigned int count ); #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <dirent.h> ssize_t getdents64(int fd , void dirp [. count ],…...scall(SYS_faccessat2, int dirfd , const char * pathname , int mode , int flags ); Feature Test Macro Requirements for glibc (see feature_test_macros (7)): faccessat (): Since gl…...scall(SYS_faccessat2, int dirfd , const char * pathname , int mode , int flags ); Feature Test Macro Requirements for glibc (see feature_test_macros (7)): faccessat (): Since gl…...scall(SYS_faccessat2, int dirfd , const char * pathname , int mode , int flags ); Feature Test Macro Requirements for glibc (see feature_test_macros (7)): faccessat (): Since gl…...the shared resources referred to on this page. EXAMPLES The program below uses kcmp () to test whether pairs of file descriptors refer to the same open file description. The pro…...igaction *_Nullable restrict act , struct sigaction *_Nullable restrict oldact ); Feature Test Macro Requirements for glibc (see feature_test_macros (7)): sigaction (): _POSIX_C…...igaction *_Nullable restrict act , struct sigaction *_Nullable restrict oldact ); Feature Test Macro Requirements for glibc (see feature_test_macros (7)): sigaction (): _POSIX_C…...ribed in the individual manual pages. In some cases, the programmer must define a feature test macro in order to obtain the declaration of a system call from the header file spe…...ude <sys/mman.h> int madvise(void addr [. length ], size_t length , int advice ); Feature Test Macro Requirements for glibc (see feature_test_macros (7)): madvise (): Since glib…...Standard C library ( libc , -lc ) SYNOPSIS #include <unistd.h> int vhangup(void); Feature Test Macro Requirements for glibc (see feature_test_macros (7)): vhangup (): Since glib…...y ( librt , -lrt ) SYNOPSIS #include <time.h> int timer_delete(timer_t timerid ); Feature Test Macro Requirements for glibc (see feature_test_macros (7)): timer_delete (): _POSI…...set time SYNOPSIS #include <time.h> [[deprecated]] int stime(const time_t * t ); Feature Test Macro Requirements for glibc (see feature_test_macros (7)): stime (): Since glibc 2…...d C library ( libc , -lc ) SYNOPSIS #include <unistd.h> pid_t getsid(pid_t pid ); Feature Test Macro Requirements for glibc (see feature_test_macros (7)): getsid (): _XOPEN_SOUR…...dard C library ( libc , -lc ) SYNOPSIS #include <unistd.h> int getpagesize(void); Feature Test Macro Requirements for glibc (see feature_test_macros (7)): getpagesize (): Since …..., -lc ) SYNOPSIS #include <unistd.h> int fsync(int fd ); int fdatasync(int fd ); Feature Test Macro Requirements for glibc (see feature_test_macros (7)): fsync (): glibc 2.16 an…..., -lc ) SYNOPSIS #include <unistd.h> int fsync(int fd ); int fdatasync(int fd ); Feature Test Macro Requirements for glibc (see feature_test_macros (7)): fsync (): glibc 2.16 an…...SYNOPSIS #include <unistd.h> int chdir(const char * path ); int fchdir(int fd ); Feature Test Macro Requirements for glibc (see feature_test_macros (7)): fchdir (): _XOPEN_SOURC…...SYNOPSIS #include <unistd.h> int chdir(const char * path ); int fchdir(int fd ); Feature Test Macro Requirements for glibc (see feature_test_macros (7)): fchdir (): _XOPEN_SOURC…...t pid , int *_Nullable wstatus , int options , struct rusage *_Nullable rusage ); Feature Test Macro Requirements for glibc (see feature_test_macros (7)): wait3 (): Since glibc …