OSDN Git Service

(split) LDP: draft snapshot generated from latest ja.po files.
[linuxjm/LDP_man-pages.git] / draft / man3 / isatty.3
index f47c605..f41a776 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"
-.\"O .SH NAME
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH ISATTY 3 2008\-12\-03 Linux "Linux Programmer's Manual"
 .SH 名前
-.\"O isatty \- test whether a file descriptor refers to a terminal
 isatty \- ファイルディスクリプタが端末を参照しているかをチェックする
-.\"O .SH SYNOPSIS
 .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
-.\"O .SH DESCRIPTION
 .SH 説明
-.\"O The
-.\"O .BR isatty ()
-.\"O function tests whether
-.\"O .I fd
-.\"O is an open file descriptor referring to a terminal.
-.BR isatty ()
-関数は、
-.I fd
-が端末を参照するオープンされたファイルディスクリプタかどうかを
-チェックする。
-.\"O .SH RETURN VALUE
+\fBisatty\fP()  関数は、 \fIfd\fP が端末を参照するオープンされたファイルディスクリプタかどうかを チェックする。
 .SH 返り値
-.\"O .BR isatty ()
-.\"O returns 1 if
-.\"O .I fd
-.\"O is an open file descriptor referring to a terminal;
-.\"O otherwise 0 is returned, and
-.\"O .I errno
-.\"O is set to indicate the error.
-.BR isatty ()
-は、
-.I fd
-が端末を参照するオープンされたファイルディスクリプタであれば 1 を返す。
-そうでなければ 0 を返し、
-.I errno
-にエラーを示す値を設定する。
-.\"O .SH ERRORS
+\fBisatty\fP()  は、 \fIfd\fP が端末を参照するオープンされたファイルディスクリプタであれば 1 を返す。 そうでなければ 0 を返し、
+\fIerrno\fP にエラーを示す値を設定する。
 .SH エラー
-.TP
-.B EBADF
-.\"O .I fd
-.\"O is not a valid file descriptor.
-.I fd
-が有効なファイルディスクリプタではない。
-.TP
-.B EINVAL
-.\"O .I fd
-.\"O refers to a file other than a terminal.
-.\"O POSIX.1-2001 specifies the error
-.\"O .BR ENOTTY
+.TP 
+\fBEBADF\fP
+\fIfd\fP が有効なファイルディスクリプタではない。
+.TP 
+\fBEINVAL\fP
 .\" FIXME File a bug for this?
-.\"O for this case.
-.I fd
-が端末以外のファイルを参照している。
-POSIX.1-2001 では、この場合にエラー
-.B ENOTTY
-を返すと規定されている。
-.\"O .SH "CONFORMING TO"
+\fIfd\fP が端末以外のファイルを参照している。 POSIX.1\-2001 では、この場合にエラー \fBENOTTY\fP を返すと規定されている。
 .SH 準拠
-SVr4, 4.3BSD, POSIX.1-2001.
-.\"O .SH "SEE ALSO"
+SVr4, 4.3BSD, POSIX.1\-2001.
 .SH 関連項目
-.BR fstat (2),
-.BR ttyname (3)
+\fBfstat\fP(2), \fBttyname\fP(3)