Loosen return value spec for fputs to be standards compliant so people

don't program against our more restrictive behaviour.
This commit is contained in:
Poul-Henning Kamp 2007-04-19 09:38:31 +00:00
parent 3f17cc74af
commit a0c079b341

View File

@ -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