OSDN Git Service

(split) LDP: draft snapshot generated from latest ja.po files.
[linuxjm/LDP_man-pages.git] / draft / man3 / posix_openpt.3
index 064fe50..7fa3b1b 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) 2005 Yuichi SATO
-.\"         all rights reserved.
-.\" Translated Sun Jan 30 08:55:16 JST 2005
-.\"         by Yuichi SATO <ysato444@yahoo.co.jp>
+.\"*******************************************************************
 .\"
-.TH POSIX_OPENPT 3 2010-10-04 "" "Linux Programmer's Manual"
-.\"O .SH NAME
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH POSIX_OPENPT 3 2010\-10\-04 "" "Linux Programmer's Manual"
 .SH 名前
-.\"O posix_openpt \- open a pseudoterminal device
 posix_openpt \- 疑似端末 (pseudoterminal) デバイスをオープンする
-.\"O .SH SYNOPSIS
 .SH 書式
 .nf
-.B #include <stdlib.h>
-.B #include <fcntl.h>
+\fB#include <stdlib.h>\fP
+\fB#include <fcntl.h>\fP
 .sp
-.BI "int posix_openpt(int " flags ");"
+\fBint posix_openpt(int \fP\fIflags\fP\fB);\fP
 .fi
 .sp
 .in -4n
-.\"O Feature Test Macro Requirements for glibc (see
-.\"O .BR feature_test_macros (7)):
-glibc 向けの機能検査マクロの要件
-.RB ( feature_test_macros (7)
-参照):
+glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
 .in
 .sp
 .ad l
-.BR posix_openpt ():
-_XOPEN_SOURCE\ >=\ 600
+\fBposix_openpt\fP(): _XOPEN_SOURCE\ >=\ 600
 .ad b
-.\"O .SH DESCRIPTION
 .SH 説明
-.\"O The
-.\"O .BR posix_openpt ()
-.\"O function opens an unused pseudoterminal master device, returning a
-.\"O file descriptor that can be used to refer to that device.
-.BR posix_openpt ()
-関数は使用されていない疑似端末マスタデバイスをオープンし、
+\fBposix_openpt\fP()  関数は使用されていない疑似端末マスタデバイスをオープンし、
 そのデバイスを参照するために使うファイルディスクリプタを返す。
-.\"O The
-.\"O .I flags
-.\"O argument is a bit mask that ORs together zero or more of
-.\"O the following flags:
-.I flags
-引き数は、以下のフラグのうち 0 個以上の OR をとったビットマスクである。
-.TP
-.B O_RDWR
-.\"O Open the device for both reading and writing.
-.\"O It is usual to specify this flag.
-読み書きのためにデバイスをオープンする。
-普通はこのフラグを指定する。
-.TP
-.B O_NOCTTY
-.\"O Do not make this device the controlling terminal for the process.
+
+\fIflags\fP 引き数は、以下のフラグのうち 0 個以上の OR をとったビットマスクである。
+.TP 
+\fBO_RDWR\fP
+読み書きのためにデバイスをオープンする。 普通はこのフラグを指定する。
+.TP 
+\fBO_NOCTTY\fP
 このデバイスをプロセスの制御端末としない。
-.\"O .SH "RETURN VALUE"
 .SH 返り値
-.\"O On success,
-.\"O .BR posix_openpt ()
-.\"O returns a nonnegative file descriptor which is the lowest
-.\"O numbered unused descriptor.
-成功した場合、
-.BR posix_openpt ()
-は負ではないファイルディスクリプタを返す。
-これは使用されていないディスクリプタのうち最小の値である。
-.\"O On failure, \-1 is returned, and
-.\"O .I errno
-.\"O is set to indicate the error.
-失敗した場合、\-1 が返されて、エラーを示すために
-.I errno
-が設定される。
-.\"O .SH ERRORS
+成功した場合、 \fBposix_openpt\fP()  は負ではないファイルディスクリプタを返す。
+これは使用されていないディスクリプタのうち最小の値である。 失敗した場合、\-1 が返されて、エラーを示すために \fIerrno\fP が設定される。
 .SH エラー
-.\"O See
-.\"O .BR open (2).
-.BR open (2)
-を参照すること。
-.\"O .SH VERSIONS
+\fBopen\fP(2)  を参照すること。
 .SH バージョン
-.\"O Glibc support for
-.\"O .BR posix_openpt ()
-.\"O has been provided since version 2.2.1.
-.BR posix_openpt ()
-の glibc でのサポートはバージョン 2.2.1 以降で提供されている。
-.\"O .SH "CONFORMING TO"
+\fBposix_openpt\fP()  の glibc でのサポートはバージョン 2.2.1 以降で提供されている。
 .SH 準拠
-.\"O .BR posix_openpt ()
-.\"O is part of the UNIX 98 pseudoterminal support (see
-.\"O .BR pts (4)).
-.\"O This function is specified in POSIX.1-2001.
-.BR posix_openpt ()
-は UNIX 98 疑似端末サポート
-.RB ( pts (4)
-を参照) の一部である。
-この関数は POSIX.1-2001 で指定されている。
-.\"O .SH NOTES
+\fBposix_openpt\fP()  は UNIX 98 疑似端末サポート (\fBpts\fP(4)  を参照) の一部である。 この関数は
+POSIX.1\-2001 で指定されている。
 .SH 注意
-.\"O This function is a recent invention in POSIX.
-.\"O Some UNIX implementations that support System V
-.\"O (aka UNIX 98) pseudoterminals don't have this function, but it
-.\"O is easy to implement:
-この関数は POSIX において最近作られたものである。
-System V (別名 UNIX 98) 疑似端末をサポートする UNIX 実装の中には、
+この関数は POSIX において最近作られたものである。 System V (別名 UNIX 98) 疑似端末をサポートする UNIX 実装の中には、
 この関数を持たないものもあるが、以下のようにして簡単に実装できる:
 .in +4n
 .nf
@@ -137,12 +79,6 @@ posix_openpt(int flags)
 }
 .fi
 .in
-.\"O .SH "SEE ALSO"
 .SH 関連項目
-.BR open (2),
-.BR getpt (3),
-.BR grantpt (3),
-.BR ptsname (3),
-.BR unlockpt (3),
-.BR pts (4),
-.BR pty (7)
+\fBopen\fP(2), \fBgetpt\fP(3), \fBgrantpt\fP(3), \fBptsname\fP(3), \fBunlockpt\fP(3),
+\fBpts\fP(4), \fBpty\fP(7)