OSDN Git Service

(split) Apply minor changes from v3.32 to v3.35 in the upstream.
[linuxjm/LDP_man-pages.git] / release / man3 / puts.3
1 .\" Copyright (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de)
2 .\"
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
6 .\"
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
11 .\"
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein.  The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
18 .\" professionally.
19 .\"
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
22 .\" License.
23 .\" Modified Sat Jul 24 18:42:59 1993 by Rik Faith (faith@cs.unc.edu)
24 .\"
25 .\" Japanese Version Copyright (c) 1997 HIROFUMI Nishizuka
26 .\"     all rights reserved.
27 .\" Translated Wed Dec 24 12:33:40 JST 1997
28 .\"     by HIROFUMI Nishizuka <nishi@rpts.cl.nec.co.jp>
29 .\" Updated Fri Nov  2 JST 2001 by Kentaro Shirakata <argrath@ub32.org>
30 .\"
31 .TH PUTS 3  2011-09-28 "GNU" "Linux Programmer's Manual"
32 .SH Ì¾Á°
33 fputc, fputs, putc, putchar, puts \- Ê¸»ú¤Èʸ»úÎó¤Î½ÐÎÏ
34 .SH ½ñ¼°
35 .nf
36 .B #include <stdio.h>
37 .sp
38 .BI "int fputc(int " c ", FILE *" stream );
39
40 .BI "int fputs(const char *" "s" ", FILE *" "stream" );
41
42 .BI "int putc(int " c ", FILE *" stream );
43
44 .BI "int putchar(int " c );
45
46 .BI "int puts(const char *" "s" );
47 .fi
48 .SH ÀâÌÀ
49 .BR fputc ()
50 ¤Ï¡¢¥­¥ã¥é¥¯¥¿
51 .I c
52 ¤ò
53 .I "unsigned char"
54 ¤Ë¥­¥ã¥¹¥È¤·¡¢
55 .I stream
56 ¤Ë½ñ¤­¹þ¤à¡£
57 .PP
58 .BR fputs ()
59 ¤Ï¡¢Ê¸»úÎó
60 .I s
61 ¤ò
62 .I stream
63 ¤Ë½ñ¤­¹þ¤à¡£
64 ʸ»úÎó½ªÃ¼¤Î NULL ¥Ð¥¤¥È (\(aq\e0\(aq) ¤Ï½ÐÎϤ·¤Ê¤¤¡£
65 .PP
66 .BR putc ()
67 ¤Ï¡¢
68 .I stream
69 ¤ò°ìÅٰʾåɾ²Á¤¹¤ë¥Þ¥¯¥í¤È¤·¤Æ¼ÂÁõ¤µ¤ì¤Æ¤¤¤ë¤«¤âÃΤì¤Ê¤¤¤È¤¤¤¦ÅÀ¤ò½ü¤­¡¢
70 .BR fputc ()
71 ¤ÈƱ¤¸¤Ç¤¢¤ë¡£
72 .PP
73 .BI "putchar(" c );
74 ¤Ï¡¢
75 .BI "putc(" c , stdout )
76 ¤ÈƱ¤¸¤Ç¤¢¤ë¡£
77 .PP
78 .BR puts ()
79 ¤Ï¡¢Ê¸»úÎó
80 .I s
81 ¤È²þ¹Ô¤ò
82 .I stdout
83 ¤Ë½ñ¤­¹þ¤à¡£
84 .PP
85 ¤³¤³¤ÇÀâÌÀ¤µ¤ì¤¿´Ø¿ô¤Ï¤ª¸ß¤¤¤Ëº®ºß¤·¤Æ»ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¡¢¤Þ¤¿¡¢
86 .I stdio
87 ¥é¥¤¥Ö¥é¥ê¤Ë´Þ¤Þ¤ì¤ë¾¤Î½ÐÎÏ´Ø¿ô¤òƱ¤¸½ÐÎÏ¥¹¥È¥ê¡¼¥à¤ËÂФ·¤Æ
88 ¸Æ¤Ó½Ð¤¹»ö¤¬½ÐÍè¤ë¡£
89 .PP
90 ¤³¤ì¤é¤Î½èÍý¤ò¥í¥Ã¥¯¤»¤º¤Ë¹Ô¤¤¤¿¤¤¤È¤­¤Ï¡¢
91 .BR unlocked_stdio (3)
92 ¤ò»²¾È¤Î¤³¤È¡£
93 .SH ÊÖ¤êÃÍ
94 .BR fputc (),
95 .BR putc (),
96 .BR putchar ()
97 ¤Ï
98 .I unsigned char
99 ¤È¤·¤Æ½ñ¤­¹þ¤Þ¤ì¤¿Ê¸»ú¤ò
100 .I int
101 ¤Ë¥­¥ã¥¹¥È¤·¤ÆÊÖ¤¹¡£
102 ¥¨¥é¡¼¤¬È¯À¸¤·¤¿¾ì¹ç¤Ï
103 .B EOF
104 ¤òÊÖ¤¹¡£
105 .PP
106 .BR puts ()
107 ¤È
108 .BR fputs ()
109 ¤Ï¡¢À®¸ù¤¹¤ë¤ÈÉé¤Ç¤Ï¤Ê¤¤¿ô¤ò¡¢¥¨¥é¡¼¤¬È¯À¸¤·¤¿¾ì¹ç¤Ï
110 .B EOF
111 ¤òÊÖ¤¹¡£
112 .SH ½àµò
113 C89, C99.
114 .SH ¥Ð¥°
115 .I stdio
116 ¥é¥¤¥Ö¥é¥ê¤Ë´Þ¤Þ¤ì¤ë½ÐÎÏ´Ø¿ô¤È¡¢Æ±¤¸½ÐÎÏ¥¹¥È¥ê¡¼¥à¤Ë·ë¤Ó¤Ä¤±¤é¤ì¤¿
117 ¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤ËÂФ¹¤ë
118 .BR write (2)
119 ¤ÎÄã¥ì¥Ù¥ë¸Æ¤Ó½Ð¤·¤òº®ºß¤·¤Æ
120 »ÈÍѤ¹¤ë¤³¤È¤Ï¸­ÌÀ¤Ç¤Ï¤Ê¤¤¡£
121 ¤½¤Î·ë²Ì¤ÏÄêµÁ¤µ¤ì¤Æ¤ª¤é¤º¡¢Ë¾¤à·ë²Ì¤¬ÆÀ¤é¤ì¤Ê¤¤²ÄǽÀ­¤¬¹â¤¤¡£
122 .SH ´ØÏ¢¹àÌÜ
123 .BR write (2),
124 .BR ferror (3),
125 .BR fopen (3),
126 .BR fputwc (3),
127 .BR fputws (3),
128 .BR fseek (3),
129 .BR fwrite (3),
130 .BR gets (3),
131 .BR putwchar (3),
132 .BR scanf (3),
133 .BR unlocked_stdio (3)