4.4BSD/usr/share/man/cat3/puts.0

Compare this file to the similar file:
Show the results in this format:

FPUTS(3)                    BSD Programmer's Manual                   FPUTS(3)

NNAAMMEE
     ffppuuttss, ppuuttss - output a line to a stream

SSYYNNOOPPSSIISS
     ##iinncclluuddee <<ssttddiioo..hh>>

     _i_n_t
     ffppuuttss(_c_o_n_s_t _c_h_a_r _*_s_t_r, _F_I_L_E _*_s_t_r_e_a_m);

     _i_n_t
     ppuuttss(_c_o_n_s_t _c_h_a_r _*_s_t_r);

DDEESSCCRRIIPPTTIIOONN
     The function ffppuuttss() writes the string pointed to by _s_t_r to the stream
     pointed to by _s_t_r_e_a_m.

     The function ppuuttss() writes the string _s_t_r, and a terminating newline
     character, to the stream _s_t_d_o_u_t.

RREETTUURRNN VVAALLUUEESS
     The ffppuuttss() function returns 0 on success and EOF on error; ppuuttss() re-
     turns a nonnegative integer on success and EOF on error.

EERRRROORRSS
     [EBADF]  The _s_t_r_e_a_m supplied is not a writable stream.

     The functions ffppuuttss() and ppuuttss() may also fail and set _e_r_r_n_o for any of
     the errors specified for the routines write(2).

SSEEEE AALLSSOO
     putc(3),  ferror(3),  stdio(3)

SSTTAANNDDAARRDDSS
     The functions ffppuuttss() and ppuuttss() conform to ANSI C X3.159-1989 (``ANSI C
     '').

4.4BSD                           June 4, 1993                                1