OSDN Git Service

(split) LDP: release pages (catch up to 3.41).
[linuxjm/LDP_man-pages.git] / release / man3 / isatty.3
index 85ebf33..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"
+.\" 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
-が端末を参照するオープンされたファイルディスクリプタかどうかを
-チェックする。
+\fBisatty\fP()  関数は、 \fIfd\fP が端末を参照するオープンされたファイルディスクリプタかどうかを チェックする。
 .SH 返り値
-.BR isatty ()
-は、
-.I fd
-が端末を参照するオープンされたファイルディスクリプタであれば 1 を返す。
-そうでなければ 0 を返し、
-.I errno
-にエラーを示す値を設定する。
+\fBisatty\fP()  は、 \fIfd\fP が端末を参照するオープンされたファイルディスクリプタであれば 1 を返す。 そうでなければ 0 を返し、
+\fIerrno\fP にエラーを示す値を設定する。
 .SH エラー
-.TP
-.B EBADF
-.I fd
-が有効なファイルディスクリプタではない。
-.TP
-.B EINVAL
+.TP 
+\fBEBADF\fP
+\fIfd\fP が有効なファイルディスクリプタではない。
+.TP 
+\fBEINVAL\fP
 .\" FIXME File a bug for this?
-.I fd
-が端末以外のファイルを参照している。
-POSIX.1-2001 では、この場合にエラー
-.B ENOTTY
-を返すと規定されている。
+\fIfd\fP が端末以外のファイルを参照している。 POSIX.1\-2001 では、この場合にエラー \fBENOTTY\fP を返すと規定されている。
 .SH 準拠
-SVr4, 4.3BSD, POSIX.1-2001.
+SVr4, 4.3BSD, POSIX.1\-2001.
 .SH 関連項目
-.BR fstat (2),
-.BR ttyname (3)
+\fBfstat\fP(2), \fBttyname\fP(3)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.40 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。