Module Name: src
Committed By: cheusov
Date: Sun Jul 30 22:53:56 UTC 2017
Modified Files:
src/lib/libc/stdio: fputs.3
Log Message:
According to POSIX return value of fputs(3) should be a non-netagive value if
it succeeds
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/stdio/fputs.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/stdio/fputs.3
diff -u src/lib/libc/stdio/fputs.3:1.12 src/lib/libc/stdio/fputs.3:1.13
--- src/lib/libc/stdio/fputs.3:1.12 Wed Feb 22 14:58:33 2017
+++ src/lib/libc/stdio/fputs.3 Sun Jul 30 22:53:56 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: fputs.3,v 1.12 2017/02/22 14:58:33 abhinav Exp $
+.\" $NetBSD: fputs.3,v 1.13 2017/07/30 22:53:56 cheusov Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -67,14 +67,11 @@ and a terminating newline character,
to the stream
.Em stdout .
.Sh RETURN VALUES
-The
+The functions
.Fn fputs
-function
-returns 0 on success and
-.Dv EOF
-on error;
+and
.Fn puts
-returns a nonnegative integer on success and
+return a nonnegative integer on success and
.Dv EOF
on error.
.Sh ERRORS