Document DT_LNK (symbolic link) for d_type field.

Reorder DT_ entries alphabetically.
This commit is contained in:
Michael Kerrisk 2008-06-18 08:50:55 +00:00
parent 382d87bd5f
commit 7bcd433363
1 changed files with 15 additions and 15 deletions

View File

@ -131,31 +131,31 @@ then glibc defines the following macro constants
for the value returned in for the value returned in
.IR d_type : .IR d_type :
.TP 12 .TP 12
.B DT_UNKNOWN .B DT_BLK
The file type is unknown. This is a block device.
.\" The glibc manual says that on some systems this is the only
.\" value returned
.TP .TP
.B DT_REG .B DT_CHR
This is a regular file. This is a character device.
.TP
.B DT_LNK
This is a symbolic link.
.TP .TP
.B DT_DIR .B DT_DIR
This is a directory. This is a directory.
.TP .TP
.B DT_FIFO .B DT_FIFO
This is a named pipe, or FIFO. This is a named pipe (FIFO).
.TP
.B DT_LNK
This is a symbolic link.
.TP
.B DT_REG
This is a regular file.
.TP .TP
.B DT_SOCK .B DT_SOCK
This is a Unix domain socket. This is a Unix domain socket.
.TP .TP
.B DT_CHR .B DT_UNKNOWN
This is a character device. The file type is unknown.
.TP .\" The glibc manual says that on some systems this is the only
.B DT_BLK .\" value returned
This is a block device.
.PP .PP
If the file type could not be determined, the value If the file type could not be determined, the value
.B DT_UNKNOWN .B DT_UNKNOWN