aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2012-04-09 21:10:13 +0200
committerAndreas Jaeger <aj@suse.de>2012-04-09 21:10:13 +0200
commit03879793292b70f4c3ca64259e80a2b44787e865 (patch)
tree06539f87180ec5d75fa68e1848215b1115b2ffc1 /manual
parent823fbbb41b4a7cbd45e5506d3f2d9381e9112405 (diff)
downloadglibc-03879793292b70f4c3ca64259e80a2b44787e865.zip
glibc-03879793292b70f4c3ca64259e80a2b44787e865.tar.gz
glibc-03879793292b70f4c3ca64259e80a2b44787e865.tar.bz2
Enhance d_namlen description
[BZ #6894] * manual/filesys.texi (Directory Entries): Mention that d_namlen is an optional BSD extension.
Diffstat (limited to 'manual')
-rw-r--r--manual/filesys.texi8
1 files changed, 5 insertions, 3 deletions
diff --git a/manual/filesys.texi b/manual/filesys.texi
index b6e0086..7003f9c 100644
--- a/manual/filesys.texi
+++ b/manual/filesys.texi
@@ -247,9 +247,11 @@ systems, for most files this the same as the @code{st_ino} member that
@code{stat} will return for the file. @xref{File Attributes}.
@item unsigned char d_namlen
-This is the length of the file name, not including the terminating null
-character. Its type is @code{unsigned char} because that is the integer
-type of the appropriate size
+This is the length of the file name, not including the terminating
+null character. Its type is @code{unsigned char} because that is the
+integer type of the appropriate size. This member is a BSD extension.
+The symbol @code{_DIRENT_HAVE_D_NAMLEN} is defined if this member is
+available.
@item unsigned char d_type
This is the type of the file, possibly unknown. The following constants