about summary refs log tree commit diff
path: root/manual
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2012-12-11 09:01:02 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2012-12-11 09:01:02 +0530
commitf70bfe80e25122d88acf42c88ffe4133a8b93081 (patch)
tree4b22172c4062cdb1952a62a254b9866fe70ff457 /manual
parent188f0adf708c67e5fb9796f2fcd0d818eefac882 (diff)
downloadglibc-f70bfe80e25122d88acf42c88ffe4133a8b93081.tar.gz
glibc-f70bfe80e25122d88acf42c88ffe4133a8b93081.tar.xz
glibc-f70bfe80e25122d88acf42c88ffe4133a8b93081.zip
Mention if terminating null is included in NAME_MAX/PATH_MAX
Fixes BZ #14872.
Diffstat (limited to 'manual')
-rw-r--r--manual/conf.texi6
1 files changed, 4 insertions, 2 deletions
diff --git a/manual/conf.texi b/manual/conf.texi
index 61dc260317..55ca4d10cd 100644
--- a/manual/conf.texi
+++ b/manual/conf.texi
@@ -1147,14 +1147,16 @@ typed ahead as input.  @xref{I/O Queues}.
 @comment limits.h
 @comment POSIX.1
 @deftypevr Macro int NAME_MAX
-The uniform system limit (if any) for the length of a file name component.
+The uniform system limit (if any) for the length of a file name component, not
+including the terminating null character.
 @end deftypevr
 
 @comment limits.h
 @comment POSIX.1
 @deftypevr Macro int PATH_MAX
 The uniform system limit (if any) for the length of an entire file name (that
-is, the argument given to system calls such as @code{open}).
+is, the argument given to system calls such as @code{open}), including the
+terminating null character.
 @end deftypevr
 
 @cindex limits, pipe buffer size