Main index | Section 3 | Options |
#include <stdio.h>
The fputs_unlocked() function is equivalent to fputs(), except that the caller is responsible for locking the stream with flockfile(3) before calling it. This function may be used to avoid the overhead of locking the stream and to prevent races when multiple threads are operating on the same stream.
The function puts() writes the string str, and a terminating newline character, to the stream stdout.
[EBADF] | |
The stream argument is not a writable stream. | |
The functions fputs() and puts() may also fail and set errno for any of the errors specified for the routines write(2).
FPUTS (3) | January 23, 2020 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.