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:
parent
3f17cc74af
commit
a0c079b341
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user