OSDN Git Service

Update draft for LDP 3.67
[linuxjm/LDP_man-pages.git] / draft / man3 / fcloseall.3
index fe43e64..7f23b67 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright (c) 2006 by Michael Kerrisk <mtk.manpages@gmail.com>
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
-.\" License.
+.\" %%%LICENSE_END
+.\"
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
 .\"
 .\" Japanese Version Copyright (c) 2000 Yuichi SATO
 .\"         all rights reserved.
 .\" Translated 2000-06-24, Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
 .\" Updated 2007-05-04, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v2.46
 .\"
-.\"WORD:       standard streams        É¸½àÆþ½ÐÎÏ
-.\"
-.TH FCLOSEALL 3  2006-12-27 "GNU" "Linux Programmer's Manual"
-.\"O .SH NAME
-.SH Ì¾Á°
-.\"O fcloseall \- close all open streams
-fcloseall \- ³«¤¤¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¥¹¥È¥ê¡¼¥à¤òÊĤ¸¤ë
-.\"O .SH SYNOPSIS
-.SH ½ñ¼°
+.TH FCLOSEALL 3 2013\-06\-21 GNU "Linux Programmer's Manual"
+.SH 名前
+fcloseall \- 開いているすべてのストリームを閉じる
+.SH 書式
 .nf
-.\"O .BR "#define _GNU_SOURCE" "         /* See feature_test_macros(7) */"
-.BR "#define _GNU_SOURCE" "         /* feature_test_macros(7) »²¾È */"
-.B #include <stdio.h>
+\fB#define _GNU_SOURCE\fP         /* feature_test_macros(7) 参照 */
+\fB#include <stdio.h>\fP
 .sp
-.B int fcloseall(void);
+\fBint fcloseall(void);\fP
 .fi
-.\"O .SH DESCRIPTION
-.SH ÀâÌÀ
-.\"O The
-.\"O .BR fcloseall ()
-.\"O function closes all of the calling process's open streams.
-.\"O Buffered output for each stream is written before it is closed
-.\"O (as for
-.\"O .BR fflush (3));
-.\"O buffered input is discarded.
-.BR fcloseall ()
-´Ø¿ô¤Ï¡¢¸Æ¤Ó½Ð¤·¸µ¥×¥í¥»¥¹¤¬³«¤¤¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¥¹¥È¥ê¡¼¥à¤òÊĤ¸¤ë¡£
-¥¹¥È¥ê¡¼¥à¤òÊĤ¸¤ëÁ°¤Ë¡¢
-.RB ( fflush (3)
-¤ÈƱ¤¸¤è¤¦¤Ë) ³Æ¥¹¥È¥ê¡¼¥à¤Î¥Ð¥Ã¥Õ¥¡¤Ëί¤Ã¤Æ¤¤¤ë½ÐÎϥǡ¼¥¿¤Ï½ñ¤­½Ð¤µ¤ì¤ë¡£
-ÆþÎϥХåե¡Æâ¤Î¥Ç¡¼¥¿¤ÏÇË´þ¤µ¤ì¤ë¡£
+.SH 説明
+\fBfcloseall\fP()  関数は、呼び出し元プロセスが開いているすべてのストリームを閉じる。 ストリームを閉じる前に、 (\fBfflush\fP(3)
+と同じように) 各ストリームのバッファに溜っている出力データは書き出される。 入力バッファ内のデータは破棄される。
 
-.\"O The standard streams,
-.\"O .IR stdin ,
-.\"O .IR stdout ,
-.\"O and
-.\"O .I stderr
-.\"O are also closed.
-ɸ½àÆþ½ÐÎÏ
-.IR stdin ,
-.IR stdout ,
-.I stderr
-¤âÊĤ¸¤é¤ì¤ë¡£
-.\"O .SH "RETURN VALUES"
-.SH ÊÖ¤êÃÍ
-.\"O This function returns 0 if all files were successfully closed;
-.\"O on error,
-.\"O .B EOF
-.\"O is returned.
-¤³¤Î´Ø¿ô¤Ï¡¢¤¹¤Ù¤Æ¤Î¥Õ¥¡¥¤¥ë¤¬Àµ¾ï¤ËÊĤ¸¤é¤ì¤¿¾ì¹ç 0 ¤òÊÖ¤¹¡£
-¥¨¥é¡¼¤Î¾ì¹ç¡¢
-.B EOF
-¤òÊÖ¤¹¡£
-.\"O .SH "CONFORMING TO"
-.SH ½àµò
-.\"O This function is a GNU extension.
-¤³¤Î´Ø¿ô¤Ï GNU ³ÈÄ¥¤Ç¤¢¤ë¡£
-.\"O .SH "SEE ALSO"
-.SH ´ØÏ¢¹àÌÜ
-.BR close (2),
-.BR fclose (3),
-.BR fflush (3),
-.BR fopen (3),
-.BR setbuf (3)
+標準入出力 \fIstdin\fP, \fIstdout\fP, \fIstderr\fP も閉じられる。
+.SH 返り値
+この関数は、すべてのファイルが正常に閉じられた場合 0 を返す。 エラーの場合、 \fBEOF\fP を返す。
+.SH 属性
+.SS "マルチスレッディング (pthreads(7) 参照)"
+\fBfcloseall\fP() 関数はストリームのロックを行わない。そのため、スレッドセーフではない。
+.SH 準拠
+この関数は GNU 拡張である。
+.SH 関連項目
+\fBclose\fP(2), \fBfclose\fP(3), \fBfflush\fP(3), \fBfopen\fP(3), \fBsetbuf\fP(3)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.67 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。