Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/stdio According to POSIX return value of fputs(3) s...
details: https://anonhg.NetBSD.org/src/rev/d03c2af2da54
branches: trunk
changeset: 355489:d03c2af2da54
user: cheusov <cheusov%NetBSD.org@localhost>
date: Sun Jul 30 22:53:56 2017 +0000
description:
According to POSIX return value of fputs(3) should be a non-netagive value if it succeeds
diffstat:
lib/libc/stdio/fputs.3 | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diffs (27 lines):
diff -r 821337d11712 -r d03c2af2da54 lib/libc/stdio/fputs.3
--- a/lib/libc/stdio/fputs.3 Sun Jul 30 20:37:35 2017 +0000
+++ b/lib/libc/stdio/fputs.3 Sun Jul 30 22:53:56 2017 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index