summaryrefslogtreecommitdiff
path: root/mcon/U/d_dirent_d_type.U
diff options
context:
space:
mode:
authorManoj Srivastava <srivasta@debian.org>2016-01-12 22:52:19 -0800
committerManoj Srivastava <srivasta@debian.org>2016-01-12 22:52:19 -0800
commitb6522e6981f04e1ca972204cea280ed27d8924a2 (patch)
treefdd677eefa3aed99f658c178f94719e781439de9 /mcon/U/d_dirent_d_type.U
parentff52cc133ccaff7df1b92de5f005b2d574734941 (diff)
parente6df8b40bcec77dd84e583c2cfb0152e8666210f (diff)
Merge branch 'upstream'
Diffstat (limited to 'mcon/U/d_dirent_d_type.U')
-rw-r--r--mcon/U/d_dirent_d_type.U11
1 files changed, 6 insertions, 5 deletions
diff --git a/mcon/U/d_dirent_d_type.U b/mcon/U/d_dirent_d_type.U
index 6334118..3ee08cc 100644
--- a/mcon/U/d_dirent_d_type.U
+++ b/mcon/U/d_dirent_d_type.U
@@ -1,4 +1,4 @@
-?RCS: $Id: d_dirent_d_type.U 167 2013-05-08 17:58:00Z rmanfredi $
+?RCS: $Id: d_dirent_d_type.U 185 2015-04-17 07:20:44Z rmanfredi $
?RCS:
?RCS: Copyright (c) 2006, Christian Biere
?RCS:
@@ -13,11 +13,13 @@
?S:d_dirent_d_type:
?S: This variable conditionally defines the HAS_DIRENT_D_TYPE symbol,
?S: which indicates to the C program that struct dirent has an
-?S: integer member d_type.
+?S: integer member d_type.
?S:.
?C:HAS_DIRENT_D_TYPE:
?C: This symbol, if defined, indicates that struct dirent has an
-?C: integer member d_type.
+?C: integer member d_type. Note that DT_WHT is BSD-specific and may
+?C: not be available. If DT_UNKNOWN is returned, the filesystem does
+?C: not fill d_type even though it is present in the dir entry.
?C:.
?H:#$d_dirent_d_type HAS_DIRENT_D_TYPE /**/
?H:.
@@ -40,8 +42,7 @@ int main(void)
| DT_BLK
| DT_REG
| DT_LNK
- | DT_SOCK
- | DT_WHT;
+ | DT_SOCK;
return 0;
}
EOC