diff options
author | 2007-09-07 05:17:59 +0000 | |
---|---|---|
committer | 2007-09-07 05:17:59 +0000 | |
commit | 38da811ae3d5e2c5369ae30999a9599a0b4de119 (patch) | |
tree | 1857eb36c097eddd4430dd6e99e43e027667d713 /lib/libc/stdio | |
parent | Based upon a diff orignally submitted by devin smith, Do two things run the (diff) | |
download | wireguard-openbsd-38da811ae3d5e2c5369ae30999a9599a0b4de119.tar.xz wireguard-openbsd-38da811ae3d5e2c5369ae30999a9599a0b4de119.zip |
Say NUL when referring to \0
Diffstat (limited to 'lib/libc/stdio')
-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. |