OSDN Git Service

(split) LDP v3.24 -> v3.29 の定型的な変更内容を反映。
[linuxjm/LDP_man-pages.git] / release / man3 / getw.3
1 .\" Copyright (c) 1995 by Jim Van Zandt <jrv@vanzandt.mv.com>
2 .\"
3 .\" Japanese Version Copyright (c) 1997 HIROFUMI Nishizuka
4 .\"     all rights reserved.
5 .\" Translated Wed Dec 24 12:33:19 JST 1997
6 .\"     by HIROFUMI Nishizuka <nishi@rpts.cl.nec.co.jp>
7 .\" Updated Sun Jun 18 16:38:02 JST 2000
8 .\"     by Kentaro Shirakata <argrath@ub32.org>
9 .\"
10 .\" Permission is granted to make and distribute verbatim copies of this
11 .\" manual provided the copyright notice and this permission notice are
12 .\" preserved on all copies.
13 .\"
14 .\" Permission is granted to copy and distribute modified versions of this
15 .\" manual under the conditions for verbatim copying, provided that the
16 .\" entire resulting derived work is distributed under the terms of a
17 .\" permission notice identical to this one.
18 .\"
19 .\" Since the Linux kernel and libraries are constantly changing, this
20 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
21 .\" responsibility for errors or omissions, or for damages resulting from
22 .\" the use of the information contained herein.  The author(s) may not
23 .\" have taken the same level of care in the production of this manual,
24 .\" which is licensed free of charge, as they might when working
25 .\" professionally.
26 .\"
27 .\" Formatted or processed versions of this manual, if unaccompanied by
28 .\" the source, must acknowledge the copyright and authors of this work.
29 .\" License.
30 .TH GETW 3  2010-09-26 "GNU" "Linux Programmer's Manual"
31 .SH Ì¾Á°
32 getw, putw \- ¥ï¡¼¥É(int)¤ÎÆþ½ÐÎÏ
33 .SH ½ñ¼°
34 .nf
35 .B #include <stdio.h>
36 .sp
37 .BI "int getw(FILE *" stream );
38
39 .BI "int putw(int " w ", FILE *" stream );
40 .fi
41 .sp
42 .in -4n
43 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
44 .RB ( feature_test_macros (7)
45 »²¾È):
46 .in
47 .sp
48 .BR getw (),
49 .BR putw ():
50 .ad l
51 .PD 0
52 .RS 4
53 .TP 4
54 glibc 2.3.3 °Ê¹ß:
55 _SVID_SOURCE || _BSD_SOURCE ||
56 .br
57 (_XOPEN_SOURCE &&
58     !(_POSIX_C_SOURCE\ >=\ 200112L || _XOPEN_SOURCE\ >=\ 600))
59 .TP
60 glibc 2.3.3 ¤è¤êÁ°:
61 _SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE
62 .RE
63 .PD
64 .ad
65 .SH ÀâÌÀ
66 .BR getw ()
67 ¤Ï \fIstream\fP ¤«¤é¥ï¡¼¥É (\fIint\fP·¿) ¤òÆɤ߹þ¤à¡£
68 ¤³¤Î´Ø¿ô¤Ï¡¢SVr4 ¤È¤Î¸ß´¹À­¤Î¤¿¤á¤ËÄ󶡤µ¤ì¤Æ¤¤¤ë¡£
69 ¤³¤Î´Ø¿ô¤ÎÂå¤ï¤ê¤Ë
70 .BR fread (3)
71 ¤ò»ÈÍѤ¹¤ë¤³¤È¤ò´«¤á¤ë¡£
72 .P
73 .BR putw ()
74 ¤Ï \fIstream\fP ¤Ë¥ï¡¼¥É \fIw\fP (\fIint\fP·¿) ¤ò½ñ¤­¹þ¤à¡£
75 ¤³¤Î´Ø¿ô¤Ï SVr4 ¤È¤Î¸ß´¹À­¤Î¤¿¤á¤ËÄ󶡤µ¤ì¤Æ¤¤¤ë¤¬¡¢¤³¤Î´Ø¿ô¤ÎÂå¤ï¤ê¤Ë
76 .BR fwrite (3)
77 ¤ò»ÈÍѤ¹¤ë¤³¤È¤ò´«¤á¤ë¡£
78 .SH ÊÖ¤êÃÍ
79 Ä̾
80 .BR getw ()
81 ¤ÏÆɤ߹þ¤ó¤À¥ï¡¼¥É¤òÊÖ¤·¡¢
82 .BR putw ()
83 ¤Ï 0 ¤òÊÖ¤¹¡£
84 ¥¨¥é¡¼¤¬È¯À¸¤·¤¿¾ì¹ç¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï \fBEOF\fP ¤òÊÖ¤¹¡£
85 .SH ½àµò
86 SVr4, SUSv2.  POSIX.1-2001 ¤Ë¤Ï¸ºß¤·¤Ê¤¤¡£
87 .SH ¥Ð¥°
88 ¥¨¥é¡¼¤Î»þ¤ËÊÖ¤µ¤ì¤ëÃͤϡ¢Àµ¤·¤¤¥Ç¡¼¥¿¤È¤·¤ÆÊÖ¤µ¤ì¤ë¤³¤È¤â¤¢¤ë¡£
89 .BR ferror (3)
90 ¤òÍѤ¤¤ë¤È¡¢¤³¤ÎÆó¤Ä¤Î¾ì¹ç¤ò¶èÊ̤¹¤ë¤³¤È¤¬½ÐÍè¤ë¡£
91 .SH ´ØÏ¢¹àÌÜ
92 .BR ferror (3),
93 .BR fread (3),
94 .BR fwrite (3),
95 .BR getc (3),
96 .BR putc (3)