1 .\" Hey Emacs! This file is -*- nroff -*- source.
2 .\" This page is in the public domain. - aeb
4 .\" Japanese Version Copyright (c) 2003 Akihiro MOTOKI
5 .\" all rights reserved.
6 .\" Translated Tue Jul 8 02:25:57 JST 2003
7 .\" by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
9 .TH UNLOCKPT 3 2008-06-14 "" "Linux Programmer's Manual"
11 .\"O unlockpt \- unlock a pseudoterminal master/slave pair
13 unlockpt \- 擬似端末マスタ/スレーブのペアのロックを解除する
17 .\"O .BR "#define _XOPEN_SOURCE" " /* See feature_test_macros(7) */"
18 .BR "#define _XOPEN_SOURCE" " /* feature_test_macros(7) 参照 */"
20 .B #include <stdlib.h>
22 .BI "int unlockpt(int " fd ");"
28 .\"O function unlocks the slave pseudoterminal device
29 .\"O corresponding to the master pseudoterminal referred to by
34 で参照されるマスタ擬似端末に対応するスレーブ擬似端末のロックを
38 .\"O should be called before opening the slave side of a pseudoterminal.
42 .\"O .SH "RETURN VALUE"
47 .\"O Otherwise, it returns \-1 and sets
52 は 0 を返す。そうでない場合、\-1 を返し、
61 .\"O argument is not a file descriptor open for writing.
64 が書き込み用にオープンされたファイル・ディスクリプタでない。
69 .\"O argument is not associated with a master pseudoterminal.
76 .\"O is provided in glibc since version 2.1.
78 は、バージョン 2.1 以降の glibc で提供されている。
79 .\"O .SH "CONFORMING TO"