mirror of https://github.com/mkerrisk/man-pages
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:
parent
8deb0f0d5b
commit
168df94099
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue