get directory stream file descriptor NAME dirfd - get directory stream file descriptor LIBRARY Standard C library ( libc , -lc ) SYNOPSIS......lude <fcntl.h> /* Definition of AT_* constants */ #include <sys/stat.h> int utimensat(int dirfd , const char * pathname , const struct timespec times [_Nullable 2], int flags );…...clude <fcntl.h> /* Definition of AT_* constants */ #include <sys/stat.h> int mkfifoat(int dirfd , const char * pathname , mode_t mode ); Feature Test Macro Requirements for glib…...clude <fcntl.h> /* Definition of AT_* constants */ #include <sys/stat.h> int mkfifoat(int dirfd , const char * pathname , mode_t mode ); Feature Test Macro Requirements for glib…...nclude <fcntl.h> /* Definition of AT_* constants */ #include <dirent.h> int scandirat(int dirfd , const char *restrict dirp , struct dirent ***restrict namelist , int (* filter …...nclude <fcntl.h> /* Definition of AT_* constants */ #include <dirent.h> int scandirat(int dirfd , const char *restrict dirp , struct dirent ***restrict namelist , int (* filter …...nclude <fcntl.h> /* Definition of AT_* constants */ #include <dirent.h> int scandirat(int dirfd , const char *restrict dirp , struct dirent ***restrict namelist , int (* filter …...nclude <fcntl.h> /* Definition of AT_* constants */ #include <dirent.h> int scandirat(int dirfd , const char *restrict dirp , struct dirent ***restrict namelist , int (* filter …...readdir (3). The underlying file descriptor of the directory stream can be obtained using dirfd (3). The opendir () function sets the close-on-exec flag for the file descriptor …...readdir (3). The underlying file descriptor of the directory stream can be obtained using dirfd (3). The opendir () function sets the close-on-exec flag for the file descriptor …...t the names will be sorted in any fashion. SEE ALSO getdents (2), read (2), closedir (3), dirfd (3), ftw (3), offsetof (3), opendir (3), readdir_r (3), rewinddir (3), scandir (3…