Enrico Zini

Added text to clarify that S_IS*() macros should be applied
to st_mode field.
as per: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=249698
This commit is contained in:
Michael Kerrisk 2004-12-16 14:45:45 +00:00
parent 8deb0f0d5b
commit 168df94099
1 changed files with 3 additions and 1 deletions

View File

@ -166,7 +166,9 @@ The field
is changed by writing or by setting inode information is changed by writing or by setting inode information
(i.e., owner, group, link count, mode, etc.). (i.e., owner, group, link count, mode, etc.).
.PP .PP
The following POSIX macros are defined to check the file type: The following POSIX macros are defined to check the file type using the
.I st_mode
field:
.RS .RS
.TP 1.2i .TP 1.2i
S_ISREG(m) S_ISREG(m)