Headers dirent.h(3HEAD)
NAME
dirent.h, dirent - format of directory entries
SYNOPSIS
#include
DESCRIPTION
The internal format of directories is unspecified. TheDIR A type representing a directory stream.
header defines the following type: The header also defines the structure dirent, which includes
the following members:ino_t d_ino /* file serial number */
char d_name[] /* name of entry */
The type ino_t is defined as described in
types(3HEAD).. See The character array d_name is of unspecified size, but the
number of bytes preceding the terminating null byte must notexceed {NAME_MAX}.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| Standard | See standards(5). ||_____________________________|_____________________________|
SEE ALSO
closedir(3C), opendir(3C), readdir(3C), rewinddir(3C), seekdir(3C), telldir(3C), types.h(3HEAD), attributes(5), standards(5)SunOS 5.11 Last change: 10 Sep 2004 1