diff options
author | Chad Loder <cloder@cvs.openbsd.org> | 2005-02-25 03:12:45 +0000 |
---|---|---|
committer | Chad Loder <cloder@cvs.openbsd.org> | 2005-02-25 03:12:45 +0000 |
commit | 8e555d953d4a7e8702ccb2d29b39ad91d179ce95 (patch) | |
tree | 6c0a9ec621640942bf2aabca87382a65abb1cd77 /lib/libc/stdio/fgetln.3 | |
parent | 8dcf2d1387109e43cabbf8b12a6bf3dd3ed2613d (diff) |
Be correct in our man pages when talking about NUL termination (that is,
termination with '\0') vs. null termination.
Input from krw@, jaredy@, jmc@. OK deraadt@
Diffstat (limited to 'lib/libc/stdio/fgetln.3')
-rw-r--r-- | lib/libc/stdio/fgetln.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/fgetln.3 b/lib/libc/stdio/fgetln.3 index 78a96dc6ed4..430599bcda1 100644 --- a/lib/libc/stdio/fgetln.3 +++ b/lib/libc/stdio/fgetln.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fgetln.3,v 1.11 2004/08/20 18:17:35 millert Exp $ +.\" $OpenBSD: fgetln.3,v 1.12 2005/02/25 03:12:44 cloder Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -117,7 +117,7 @@ The function first appeared in .Bx 4.4 . .Sh CAVEATS -Since the returned buffer is not a C string (it is not null terminated), a +Since the returned buffer is not a C string (it is not NUL terminated), a common practice is to replace the newline character with .Sq \e0 . However, if the last line in a file does not contain a newline, |