BSD 4_3_Reno development
[unix-history] / usr / share / man / cat3 / fputs.0
PUTS(3) 1989 PUTS(3)
N\bNA\bAM\bME\bE
puts, fputs - put a string on a stream
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
#\b#i\bin\bnc\bcl\blu\bud\bde\be <\b<s\bst\btd\bdi\bio\bo.\b.h\bh>\b>
p\bpu\but\bts\bs(\b(s\bs)\b)
c\bch\bha\bar\br *\b*s\bs;\b;
f\bfp\bpu\but\bts\bs(\b(s\bs,\b, s\bst\btr\bre\bea\bam\bm)\b)
c\bch\bha\bar\br *\b*s\bs;\b;
F\bFI\bIL\bLE\bE *\b*s\bst\btr\bre\bea\bam\bm;\b;
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
_\bP_\bu_\bt_\bs copies the null-terminated string _\bs to the standard
output stream s\bst\btd\bdo\bou\but\bt and appends a newline character.
_\bF_\bp_\bu_\bt_\bs copies the null-terminated string _\bs to the named out-
put _\bs_\bt_\br_\be_\ba_\bm.
Neither routine copies the terminal null character.
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
fopen(3), gets(3), putc(3), printf(3), ferror(3)
fread(3) for _\bf_\bw_\br_\bi_\bt_\be
B\bBU\bUG\bGS\bS
_\bP_\bu_\bt_\bs appends a newline, _\bf_\bp_\bu_\bt_\bs does not, all in the name of
backward compatibility.
Printed 7/27/90 April 1