From 03879793292b70f4c3ca64259e80a2b44787e865 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 9 Apr 2012 21:10:13 +0200 Subject: Enhance d_namlen description [BZ #6894] * manual/filesys.texi (Directory Entries): Mention that d_namlen is an optional BSD extension. --- manual/filesys.texi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'manual') diff --git a/manual/filesys.texi b/manual/filesys.texi index b6e0086a7a..7003f9c473 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 -- cgit v1.2.3