1 --- fputs.3 2003-05-20 15:22:42.000000000 -0700
2 +++ fputs.3.edit 2006-07-13 09:28:07.000000000 -0700
7 -.Fn fputs "const char *str" "FILE *stream"
9 +.Fa "const char *restrict s"
10 +.Fa "FILE *restrict stream"
13 -.Fn puts "const char *str"
20 writes the string pointed to by
23 to the stream pointed to by
32 and a terminating newline character,
37 for any of the errors specified for the routines
41 +now returns a non-negative number (as opposed to 0)
42 +on successful completion.
43 +As a result, many tests (e.g., "fputs() == 0", "fputs() != 0")
44 +do not give the desired result.
45 +Use "fputs() != EOF" or "fputs() == EOF"
46 +to determine success or failure.
54 +While not mentioned in the standard, both