diff options
author | Chad Loder <cloder@cvs.openbsd.org> | 2007-09-07 05:18:00 +0000 |
---|---|---|
committer | Chad Loder <cloder@cvs.openbsd.org> | 2007-09-07 05:18:00 +0000 |
commit | 0efaf4193d28fa17bdb8a3ee3610d0aa2c9f4c05 (patch) | |
tree | 24872e58d2fab0b35b07029d54cfe4c0c3eae2b3 /lib/libc | |
parent | d2ec21948988b18fd33a7f0892e367f81e035fa8 (diff) |
Say NUL when referring to \0
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/stdio/fgets.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdio/fgets.3 b/lib/libc/stdio/fgets.3 index da95e9d8fb8..d459f35958f 100644 --- a/lib/libc/stdio/fgets.3 +++ b/lib/libc/stdio/fgets.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fgets.3,v 1.27 2007/08/08 07:20:45 ray Exp $ +.\" $OpenBSD: fgets.3,v 1.28 2007/09/07 05:17:59 cloder Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -31,7 +31,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: August 8 2007 $ +.Dd $Mdocdate: September 7 2007 $ .Dt FGETS 3 .Os .Sh NAME @@ -180,7 +180,7 @@ correctly assume the end of the string is represented by a NUL character. If the first character of a line returned by .Fn fgets -were null, +were NUL, .Fn strchr would immediately return without considering the rest of the returned text which may indeed include a newline. |