OSDN Git Service

(split) LDP: release pages (catch up to 3.41).
[linuxjm/LDP_man-pages.git] / release / man3 / isatty.3
index fc4b2ac..d006a9a 100644 (file)
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
 .\"
-.\" Japanese Version Copyright (c) 1997 Hiroaki Nagoya
-.\"         all rights reserved.
-.\" Translated Mon Feb 10 1997 by Hiroaki Nagoya <nagoya@is.titech.ac.jp>
+.\"*******************************************************************
 .\"
-.TH ISATTY 3 2008-12-03 "Linux" "Linux Programmer's Manual"
-.SH Ì¾Á°
-isatty \- ¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤¬Ã¼Ëö¤ò»²¾È¤·¤Æ¤¤¤ë¤«¤ò¥Á¥§¥Ã¥¯¤¹¤ë
-.SH ½ñ¼°
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH ISATTY 3 2008\-12\-03 Linux "Linux Programmer's Manual"
+.SH 名前
+isatty \- ファイルディスクリプタが端末を参照しているかをチェックする
+.SH 書式
 .nf
-.B #include <unistd.h>
+\fB#include <unistd.h>\fP
 .sp
-.BI "int isatty(int " fd );
+\fBint isatty(int \fP\fIfd\fP\fB);\fP
 .fi
-.SH ÀâÌÀ
-.BR isatty ()
-´Ø¿ô¤Ï¡¢
-.I fd
-¤¬Ã¼Ëö¤ò»²¾È¤¹¤ë¥ª¡¼¥×¥ó¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤«¤É¤¦¤«¤ò
-¥Á¥§¥Ã¥¯¤¹¤ë¡£
-.SH ÊÖ¤êÃÍ
-.BR isatty ()
-¤Ï¡¢
-.I fd
-¤¬Ã¼Ëö¤ò»²¾È¤¹¤ë¥ª¡¼¥×¥ó¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤Ç¤¢¤ì¤Ð 1 ¤òÊÖ¤¹¡£
-¤½¤¦¤Ç¤Ê¤±¤ì¤Ð 0 ¤òÊÖ¤·¡¢
-.I errno
-¤Ë¥¨¥é¡¼¤ò¼¨¤¹ÃͤòÀßÄꤹ¤ë¡£
-.SH ¥¨¥é¡¼
-.TP
-.B EBADF
-.I fd
-¤¬Í­¸ú¤Ê¥Õ¥¡¥¤¥ë¥Ç¥£¥¹¥¯¥ê¥×¥¿¤Ç¤Ï¤Ê¤¤¡£
-.TP
-.B EINVAL
+.SH 説明
+\fBisatty\fP()  関数は、 \fIfd\fP が端末を参照するオープンされたファイルディスクリプタかどうかを チェックする。
+.SH 返り値
+\fBisatty\fP()  は、 \fIfd\fP が端末を参照するオープンされたファイルディスクリプタであれば 1 を返す。 そうでなければ 0 を返し、
+\fIerrno\fP にエラーを示す値を設定する。
+.SH エラー
+.TP 
+\fBEBADF\fP
+\fIfd\fP が有効なファイルディスクリプタではない。
+.TP 
+\fBEINVAL\fP
 .\" FIXME File a bug for this?
-.I fd
-¤¬Ã¼Ëö°Ê³°¤Î¥Õ¥¡¥¤¥ë¤ò»²¾È¤·¤Æ¤¤¤ë¡£
-POSIX.1-2001 ¤Ç¤Ï¡¢¤³¤Î¾ì¹ç¤Ë¥¨¥é¡¼
-.B ENOTTY
-¤òÊÖ¤¹¤Èµ¬Äꤵ¤ì¤Æ¤¤¤ë¡£
-.SH ½àµò
-SVr4, 4.3BSD, POSIX.1-2001.
-.SH ´ØÏ¢¹àÌÜ
-.BR fstat (2),
-.BR ttyname (3)
+\fIfd\fP が端末以外のファイルを参照している。 POSIX.1\-2001 では、この場合にエラー \fBENOTTY\fP を返すと規定されている。
+.SH 準拠
+SVr4, 4.3BSD, POSIX.1\-2001.
+.SH 関連項目
+\fBfstat\fP(2), \fBttyname\fP(3)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.40 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。