Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys Improve _PC_NO_TRUNC description. From Matthew ...



details:   https://anonhg.NetBSD.org/src/rev/09b5457bd0d4
branches:  trunk
changeset: 756609:09b5457bd0d4
user:      njoly <njoly%NetBSD.org@localhost>
date:      Mon Jul 26 12:30:16 2010 +0000

description:
Improve _PC_NO_TRUNC description. From Matthew Mondor on
current-users@.

diffstat:

 lib/libc/sys/pathconf.2 |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 2e1d31657ff9 -r 09b5457bd0d4 lib/libc/sys/pathconf.2
--- a/lib/libc/sys/pathconf.2   Mon Jul 26 11:52:25 2010 +0000
+++ b/lib/libc/sys/pathconf.2   Mon Jul 26 12:30:16 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pathconf.2,v 1.26 2010/07/22 19:28:25 wiz Exp $
+.\"    $NetBSD: pathconf.2,v 1.27 2010/07/26 12:30:16 njoly Exp $
 .\"
 .\" Copyright (c) 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"    @(#)pathconf.2  8.1 (Berkeley) 6/4/93
 .\"
-.Dd July 22, 2010
+.Dd July 26, 2010
 .Dt PATHCONF 2
 .Os
 .Sh NAME
@@ -95,7 +95,9 @@
 .It Li _PC_NO_TRUNC
 Return 0 if filenames longer than
 .Brq Dv NAME_MAX
-are truncated.
+are silently truncated, or non-zero if an error is generated when
+.Brq Dv NAME_MAX
+is exceeded.
 .It Li _PC_VDISABLE
 Returns the terminal character disabling value.
 .It Li _PC_SYNC_IO



Home | Main Index | Thread Index | Old Index