From 168df94099b26878638e95fbc0991888fc932700 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 16 Dec 2004 14:45:45 +0000 Subject: [PATCH] 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 --- man2/stat.2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/man2/stat.2 b/man2/stat.2 index 0bb940452..1592ac0d0 100644 --- a/man2/stat.2 +++ b/man2/stat.2 @@ -166,7 +166,9 @@ The field is changed by writing or by setting inode information (i.e., owner, group, link count, mode, etc.). .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 .TP 1.2i S_ISREG(m)