Strings are NUL-terminated, not NULL-terminated.

This commit is contained in:
wiz 2013-06-30 19:19:12 +00:00
parent 8b89b15c25
commit 0ed5815bd6

View File

@ -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 .\" Copyright (c) 1989, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -332,7 +332,7 @@ Therefore, the
and and
.Fa fts_accpath .Fa fts_accpath
fields are guaranteed to be fields are guaranteed to be
.Dv NULL Ns -terminated .Dv NUL Ns -terminated
.Em only .Em only
for the file most recently returned by for the file most recently returned by
.Fn fts_read . .Fn fts_read .
@ -350,7 +350,7 @@ are attempted.
The The
.Fa fts_name .Fa fts_name
field is always field is always
.Dv NULL Ns -terminated . .Dv NUL Ns -terminated .
.Sh FTS_OPEN .Sh FTS_OPEN
The The
.Fn fts_open .Fn fts_open