Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/gen Strings are NUL-terminated, not NULL-terminated.



details:   https://anonhg.NetBSD.org/src/rev/683588b1236b
branches:  trunk
changeset: 787743:683588b1236b
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun Jun 30 19:19:12 2013 +0000

description:
Strings are NUL-terminated, not NULL-terminated.

diffstat:

 lib/libc/gen/fts.3 |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 332b2cede8b0 -r 683588b1236b lib/libc/gen/fts.3
--- a/lib/libc/gen/fts.3        Sun Jun 30 17:23:52 2013 +0000
+++ b/lib/libc/gen/fts.3        Sun Jun 30 19:19:12 2013 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: fts.3,v 1.30 2011/03/30 16:29:26 jruoho Exp $
+.\"    $NetBSD: fts.3,v 1.31 2013/06/30 19:19:12 wiz Exp $
 .\"
 .\" Copyright (c) 1989, 1991, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -332,7 +332,7 @@
 and
 .Fa fts_accpath
 fields are guaranteed to be
-.Dv NULL Ns -terminated
+.Dv NUL Ns -terminated
 .Em only
 for the file most recently returned by
 .Fn fts_read .
@@ -350,7 +350,7 @@
 The
 .Fa fts_name
 field is always
-.Dv NULL Ns -terminated .
+.Dv NUL Ns -terminated .
 .Sh FTS_OPEN
 The
 .Fn fts_open



Home | Main Index | Thread Index | Old Index