summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fputs.3
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2007-04-19 09:38:31 +0000
committerphk <phk@FreeBSD.org>2007-04-19 09:38:31 +0000
commit19613c2bfe0ba59b977ac06457e84b93cceb5045 (patch)
treeb731badc004413448f683a032223b8aabbea3ecd /lib/libc/stdio/fputs.3
parentec0671d95e9e40389ca8e86f57715ad9b710b323 (diff)
downloadFreeBSD-src-19613c2bfe0ba59b977ac06457e84b93cceb5045.zip
FreeBSD-src-19613c2bfe0ba59b977ac06457e84b93cceb5045.tar.gz
Loosen return value spec for fputs to be standards compliant so people
don't program against our more restrictive behaviour.
Diffstat (limited to 'lib/libc/stdio/fputs.3')
-rw-r--r--lib/libc/stdio/fputs.37
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/libc/stdio/fputs.3 b/lib/libc/stdio/fputs.3
index 127618c..80824ff 100644
--- a/lib/libc/stdio/fputs.3
+++ b/lib/libc/stdio/fputs.3
@@ -66,12 +66,9 @@ and a terminating newline character,
to the stream
.Dv 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
.Dv EOF
OpenPOWER on IntegriCloud