Commit | Line | Data |
---|---|---|
8c6b2df9 C |
1 | |
2 | ||
3 | ||
4 | PUTS(3) 1989 PUTS(3) | |
5 | ||
6 | ||
7 | ||
8 | N\bNA\bAM\bME\bE | |
9 | puts, fputs - put a string on a stream | |
10 | ||
11 | S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS | |
12 | #\b#i\bin\bnc\bcl\blu\bud\bde\be <\b<s\bst\btd\bdi\bio\bo.\b.h\bh>\b> | |
13 | ||
14 | p\bpu\but\bts\bs(\b(s\bs)\b) | |
15 | c\bch\bha\bar\br *\b*s\bs;\b; | |
16 | ||
17 | f\bfp\bpu\but\bts\bs(\b(s\bs,\b, s\bst\btr\bre\bea\bam\bm)\b) | |
18 | c\bch\bha\bar\br *\b*s\bs;\b; | |
19 | F\bFI\bIL\bLE\bE *\b*s\bst\btr\bre\bea\bam\bm;\b; | |
20 | ||
21 | D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN | |
22 | _\bP_\bu_\bt_\bs copies the null-terminated string _\bs to the standard | |
23 | output stream s\bst\btd\bdo\bou\but\bt and appends a newline character. | |
24 | ||
25 | _\bF_\bp_\bu_\bt_\bs copies the null-terminated string _\bs to the named out- | |
26 | put _\bs_\bt_\br_\be_\ba_\bm. | |
27 | ||
28 | Neither routine copies the terminal null character. | |
29 | ||
30 | S\bSE\bEE\bE A\bAL\bLS\bSO\bO | |
31 | fopen(3), gets(3), putc(3), printf(3), ferror(3) | |
32 | fread(3) for _\bf_\bw_\br_\bi_\bt_\be | |
33 | ||
34 | B\bBU\bUG\bGS\bS | |
35 | _\bP_\bu_\bt_\bs appends a newline, _\bf_\bp_\bu_\bt_\bs does not, all in the name of | |
36 | backward compatibility. | |
37 | ||
38 | ||
39 | ||
40 | ||
41 | ||
42 | ||
43 | ||
44 | ||
45 | ||
46 | ||
47 | ||
48 | ||
49 | ||
50 | ||
51 | ||
52 | ||
53 | ||
54 | ||
55 | ||
56 | ||
57 | ||
58 | ||
59 | ||
60 | ||
61 | ||
62 | ||
63 | Printed 7/27/90 April 1 | |
64 | ||
65 | ||
66 |