OSDN Git Service

(split) Import translated manuals from JM CVS Repository.
[linuxjm/LDP_man-pages.git] / release / man3 / fgetws.3
1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2 .\"
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
7 .\"
8 .\" References consulted:
9 .\"   GNU glibc-2 source code and manual
10 .\"   Dinkumware C library reference http://www.dinkumware.com/
11 .\"   OpenGroup's Single Unix specification
12 .\"     http://www.UNIX-systems.org/online.html
13 .\"   ISO/IEC 9899:1999
14 .\"
15 .\" Modified Tue Oct 16 23:18:40 BST 2001 by John Levon <moz@compsoc.man.ac.uk>
16 .\"
17 .\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
18 .\" Translated Sun Aug 29 15:03:42 JST 1999
19 .\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
20 .\" Updated Sat Oct 27 09:01:41 JST 2001
21 .\"           by Yuichi SATO <ysato@h4.dion.ne.jp>
22 .\"
23 .\" WORD: null wide characters  ¥Ê¥ë¥ï¥¤¥Éʸ»ú
24 .\"
25 .TH FGETWS 3  1999-07-25 "GNU" "Linux Programmer's Manual"
26 .SH Ì¾Á°
27 fgetws \- ¥ï¥¤¥Éʸ»ú¤Îʸ»úÎó¤ò FILE ¥¹¥È¥ê¡¼¥à¤«¤éÆɤ߹þ¤à
28 .SH ½ñ¼°
29 .nf
30 .B #include <wchar.h>
31 .sp
32 .BI "wchar_t *fgetws(wchar_t *" ws ", int " n ", FILE *" stream );
33 .fi
34 .SH ÀâÌÀ
35 .BR fgetws ()
36 ´Ø¿ô¤Ï
37 .BR fgets (3)
38 ¤ËÂбþ¤¹¤ë¥ï¥¤¥Éʸ»ú´Ø¿ô¤Ç¤¢¤ë¡£
39 ¤³¤Î´Ø¿ô¤Ï¡¢ºÇÂç \fIn\-1\fP Ê¸»ú¤Î¥ï¥¤¥Éʸ»ú¤ò
40 \fIws\fP ¤¬¼¨¤¹¥ï¥¤¥Éʸ»ú¤ÎÇÛÎó¤ËÆɤ߹þ¤ß¡¢½ªÃ¼¤Î L\(aq\\0\(aq Ê¸»ú¤òÄɲ乤롣
41 ¤³¤Î´Ø¿ô¤Ï¡¢¥ï¥¤¥Éʸ»ú¤Î²þ¹Ôʸ»ú¤ò¸«¤Ä¤±¡¢¤³¤ì¤ò³ÊǼ¤¹¤ë¤ÈÆɤ߹þ¤à¤Î¤ò»ß¤á¤ë¡£
42 ¤³¤Î´Ø¿ô¤Ï¥¹¥È¥ê¡¼¥à¤Î½ª¤ï¤ê¤Ë㤷¤¿¾ì¹ç¤âÆɤ߹þ¤ß¤ò»ß¤á¤ë¡£
43 .PP
44 ¥×¥í¥°¥é¥Þ¤Ï¡¢\fIws\fP ¤Ë¤Ï¾¯¤Ê¤¯¤È¤â \fIn\fP Ê¸»ú¤Î¥ï¥¤¥Éʸ»ú¤ò
45 ³ÊǼ¤Ç¤­¤ëÎΰè¤òɬ¤º³ÎÊݤ·¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
46 .PP
47 ¤³¤ì¤é¤Î½èÍý¤ò¥í¥Ã¥¯¤»¤º¤Ë¹Ô¤¤¤¿¤¤¤È¤­¤Ï¡¢
48 .BR unlocked_stdio (3)
49 ¤ò»²¾È¤¹¤ë¤³¤È¡£
50 .SH ÊÖ¤êÃÍ
51 .BR fgetws ()
52 ¤ÏÀ®¸ù¤¹¤ë¤È \fIws\fP ¤òÊÖ¤¹¡£
53 ´û¤Ë¥¹¥È¥ê¡¼¥à¤Î½ª¤ï¤ê¤Ë㤷¤Æ¤¤¤ë¤«¡¢¥¨¥é¡¼¤¬µ¯¤­¤¿¾ì¹ç¤Ë¤Ï NULL ¤òÊÖ¤¹¡£
54 .SH ½àµò
55 C99, POSIX.1-2001.
56 .SH Ãí°Õ
57 .BR fgetws ()
58 ¤ÎÆ°ºî¤Ï¡¢¸½ºß¤Î¥í¥±¡¼¥ë¤Î
59 .B LC_CTYPE
60 ¥«¥Æ¥´¥ê¤Ë°Í¸¤¹¤ë¡£
61 .PP
62 .BR fopen (3)
63 ¥·¥¹¥Æ¥à¥³¡¼¥ë¤ËÅϤ¹ÄɲäξðÊ󤬤ʤ¤¾ì¹ç¤Ë¤Ï¡¢
64 .BR fgetws ()
65 ¤¬¼ÂºÝ¤Ë¤Ï¥Þ¥ë¥Á¥Ð¥¤¥È¥·¡¼¥±¥ó¥¹¤ò¥¹¥È¥ê¡¼¥à¤«¤éÆɤ߹þ¤ß¡¢
66 ¤³¤ì¤ò¥ï¥¤¥Éʸ»ú¤ËÊÑ´¹¤¹¤ë¤È´üÂÔ¤¹¤ë¤³¤È¤ÏŬÀڤǤ¢¤ë¡£
67 .PP
68 ¤³¤Î´Ø¿ô¤Ï¿®Íê¤Ç¤­¤Ê¤¤¡£¤Ê¤¼¤Ê¤é¡¢ÆþÎϤ˴ޤޤì¤ë¤«¤â¤·¤ì¤Ê¤¤
69 ¥Ê¥ë¥ï¥¤¥Éʸ»ú¤òŬÀڤ˽èÍý¤¹¤ë¤³¤È¤¬¤Ç¤­¤Ê¤¤¤«¤é¤Ç¤¢¤ë¡£
70 .SH ´ØÏ¢¹àÌÜ
71 .BR fgetwc (3),
72 .BR unlocked_stdio (3)