Go to the previous, next section.
This section describes what you find in a single directory entry, as you might obtain it from a directory stream. All the symbols are declared in the header file `dirent.h'.
This is a structure type used to return information about directory entries. It contains the following fields:
char *d_name
ino_t d_fileno
d_ino
.
size_t d_namlen
This structure may contain additional members in the future.
When a file has multiple names, each name has its own directory entry.
The only way you can tell that the directory entries belong to a
single file is that they have the same value for the d_fileno
field.
File attributes such as size, modification times, and the like are part of the file itself, not any particular directory entry. See section File Attributes.
Go to the previous, next section.