OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / release / man3 / unlocked_stdio.3
1 .\" Copyright (C) 2001 Andries Brouwer <aeb@cwi.nl>.
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 .\"
23 .\" Japanese Version Copyright (c) 2001 Akihiro MOTOKI
24 .\"         all rights reserved.
25 .\" Translated Fri Nov 2 23:08:42 2001
26 .\"         by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
27 .\"
28 .TH UNLOCKED_STDIO 3  2008-08-29 "" "Linux Programmer's Manual"
29 .SH Ì¾Á°
30 getc_unlocked, getchar_unlocked, putc_unlocked,
31 putchar_unlocked \- ¥í¥Ã¥¯¤ò¹Ô¤ï¤º¤Ëɸ½àÆþ½ÐÎϤò¹Ô¤¦´Ø¿ô·²
32 .SH ½ñ¼°
33 .nf
34 .B #include <stdio.h>
35 .sp
36 .BI "int getc_unlocked(FILE *" stream );
37 .B "int getchar_unlocked(void);"
38 .BI "int putc_unlocked(int " c ", FILE *" stream );
39 .BI "int putchar_unlocked(int " c );
40 .sp
41 .BI "void clearerr_unlocked(FILE *" stream );
42 .BI "int feof_unlocked(FILE *" stream );
43 .BI "int ferror_unlocked(FILE *" stream );
44 .BI "int fileno_unlocked(FILE *" stream );
45 .BI "int fflush_unlocked(FILE *" stream );
46 .BI "int fgetc_unlocked(FILE *" stream );
47 .BI "int fputc_unlocked(int " c ", FILE *" stream );
48 .BI "size_t fread_unlocked(void *" ptr ", size_t " size ", size_t " n ,
49 .BI "                      FILE *" stream );
50 .BI "size_t fwrite_unlocked(const void *" ptr ", size_t " size ", size_t " n ,
51 .BI "                      FILE *" stream );
52 .sp
53 .BI "char *fgets_unlocked(char *" s ", int " n ", FILE *" stream );
54 .BI "int fputs_unlocked(const char *" s ", FILE *" stream );
55 .sp
56 .B #include <wchar.h>
57 .sp
58 .BI "wint_t getwc_unlocked(FILE *" stream );
59 .B "wint_t getwchar_unlocked(void);"
60 .BI "wint_t fgetwc_unlocked(FILE *" stream );
61 .BI "wint_t fputwc_unlocked(wchar_t " wc ", FILE *" stream );
62 .BI "wint_t putwc_unlocked(wchar_t " wc ", FILE *" stream );
63 .BI "wint_t putwchar_unlocked(wchar_t " wc );
64 .BI "wchar_t *fgetws_unlocked(wchar_t *" ws ", int " n ", FILE *" stream );
65 .BI "int fputws_unlocked(const wchar_t *" ws ", FILE *" stream );
66 .fi
67 .sp
68 .in -4n
69 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
70 .RB ( feature_test_macros (7)
71 »²¾È):
72 .ad l
73 .in
74 .sp
75 .BR getc_unlocked (),
76 .BR getchar_unlocked (),
77 .BR putc_unlocked (),
78 .BR putchar_unlocked ():
79 _POSIX_C_SOURCE\ >=\ 1 || _XOPEN_SOURCE || _POSIX_SOURCE ||
80 _BSD_SOURCE || _SVID_SOURCE
81 .sp
82 .BR clearerr_unlocked (),
83 .BR feof_unlocked (),
84 .BR ferror_unlocked (),
85 .BR fileno_unlocked (),
86 .BR fflush_unlocked (),
87 .BR fgetc_unlocked (),
88 .BR fputc_unlocked (),
89 .BR fread_unlocked (),
90 .BR fwrite_unlocked ():
91 _BSD_SOURCE || _SVID_SOURCE
92 .sp
93 .BR fgets_unlocked (),
94 .BR fputs_unlocked (),
95 .BR getwc_unlocked (),
96 .BR getwchar_unlocked (),
97 .BR fgetwc_unlocked (),
98 .BR fputwc_unlocked (),
99 .BR putwchar_unlocked (),
100 .BR fgetws_unlocked (),
101 .BR fputws_unlocked ():
102 _GNU_SOURCE
103 .ad b
104 .SH ÀâÌÀ
105 ¤³¤ì¤é¤Î´Ø¿ô¤Ï¡¢ËöÈø¤Ë "_unlocked" ¤¬¤Ä¤¤¤Æ¤¤¤Ê¤¤´Ø¿ô¤ÈƱ¤¸Æ°ºî¤ò¤¹¤ë¤¬¡¢
106 ¥Õ¥¡¥¤¥ë¤Î¥í¥Ã¥¯¤ò»ÈÍѤ·¤Ê¤¤ÅÀ¤¬°Û¤Ê¤ë¡£(¤³¤ì¤é¤Î´Ø¿ô¼«¿È¤Ï¥Õ¥¡¥¤¥ë¤Î¥í¥Ã¥¯
107 ¤ò¥»¥Ã¥È¤»¤º¡¢Â¾¤Î´Ø¿ô¤Ë¤è¤Ã¤Æ¥í¥Ã¥¯¤¬¥»¥Ã¥È¤µ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤Î¥Á¥§¥Ã¥¯¤â
108 ¹Ô¤ï¤Ê¤¤) ¤½¤ì¤æ¤¨¡¢¥¹¥ì¥Ã¥É(thread)¤Ç°ÂÁ´¤Ë»ÈÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤Ê¤¤¡£
109 .BR flockfile (3)
110 ¤ò»²¾È¤Î¤³¤È¡£
111 .SH ½àµò
112 .BR getc_unlocked (),
113 .BR getchar_unlocked (),
114 .BR putc_unlocked (),
115 .BR putchar_unlocked ()
116 ¤Î 4 ¤Ä¤Î´Ø¿ô¤Ï
117 POSIX.1-2001 ¤Ëµ¬Äꤵ¤ì¤Æ¤¤¤ë¡£
118
119 Èóɸ½à¤Î
120 .BR *_unlocked ()
121 ¤ÎÃç´Ö¤Ï 2¡¢3 ¤Î Unix ¥·¥¹¥Æ¥à¤ÇÄêµÁ¤µ¤ì¤Æ¤ª¤ê¡¢
122 ºÇ¶á¤Î glibc ¤Ç¤Ï»ÈÍѲÄǽ¤Ç¤¢¤ë¤¬¡¢
123 .\" E.g., in HP-UX 10.0. In HP-UX 10.30 they are called obsolescent, and
124 .\" moved to a compatibility library.
125 .\" Available in HP-UX 10.0: clearerr_unlocked, fclose_unlocked,
126 .\" feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
127 .\" fgetwc_unlocked, fgetws_unlocked, fileno_unlocked, fputs_unlocked,
128 .\" fputwc_unlocked, fputws_unlocked, fread_unlocked, fseek_unlocked,
129 .\" ftell_unlocked, fwrite_unlocked, getc_unlocked, getchar_unlocked,
130 .\" getw_unlocked, getwc_unlocked, getwchar_unlocked, putc_unlocked,
131 .\" putchar_unlocked, puts_unlocked, putws_unlocked, putw_unlocked,
132 .\" putwc_unlocked, putwchar_unlocked, rewind_unlocked, setvbuf_unlocked,
133 .\" ungetc_unlocked, ungetwc_unlocked.
134 ¤³¤ì¤é¤Î´Ø¿ô¤Ï»È¤ï¤Ê¤¤Êý¤¬¤è¤¤¤À¤í¤¦¡£
135 .SH ´ØÏ¢¹àÌÜ
136 .BR flockfile (3),
137 .BR stdio (3),
138 .BR feature_test_macros (7)