home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / ixemul-39.47-env-bin.lha / man / cat3 / fputs.0 < prev    next >
Text File  |  1993-12-07  |  1KB  |  67 lines

  1.  
  2. FPUTS(3)                   UNIX Programmer's Manual                   FPUTS(3)
  3.  
  4. NNAAMMEE
  5.      ffppuuttss, ppuuttss - output a line to a stream
  6.  
  7. SSYYNNOOPPSSIISS
  8.      ##iinncclluuddee <<ssttddiioo..hh>>
  9.  
  10.      _i_n_t
  11.      ffppuuttss(_c_o_n_s_t _c_h_a_r _*_s_t_r, _F_I_L_E _*_s_t_r_e_a_m)
  12.  
  13.      _i_n_t
  14.      ppuuttss(_c_o_n_s_t _c_h_a_r _*_s_t_r)
  15.  
  16. DDEESSCCRRIIPPTTIIOONN
  17.      The function ffppuuttss() writes the string pointed to by _s_t_r to the stream
  18.      pointed to by _s_t_r_e_a_m.
  19.  
  20.      The function ppuuttss() writes the string _s_t_r, and a terminating newline
  21.      character, to the stream _s_t_d_o_u_t.
  22.  
  23. RREETTUURRNN VVAALLUUEESS
  24.      The ffppuuttss() function returns 0 on success and EOF on error; ppuuttss() re­
  25.      turns a nonnegative integer on success and EOF on error.
  26.  
  27. EERRRROORRSS
  28.      [EBADF]  The _s_t_r_e_a_m supplied is not a writable stream.
  29.  
  30.      The functions ffppuuttss() and ppuuttss() may also fail and set _e_r_r_n_o for any of
  31.      the errors specified for the routines write(2).
  32.  
  33. SSEEEE AALLSSOO
  34.      putc(3),  ferror(3),  stdio(3)
  35.  
  36. SSTTAANNDDAARRDDSS
  37.      The functions ffppuuttss() and ppuuttss() conform to ANSI C3.159­1989 (``ANSI
  38.      C'').
  39.  
  40. BSD Experimental                 June 29, 1991                               1
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.