File: unlockpt.3

package info (click to toggle)
manpages-ja 0.5.0.0.20050315-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 18,620 kB
  • ctags: 4
  • sloc: sh: 12,675; perl: 157; makefile: 106
file content (53 lines) | stat: -rw-r--r-- 1,126 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
.\" Hey Emacs! This file is -*- nroff -*- source.
.\" This page is in the public domain. - aeb
.\"
.\" Japanese Version Copyright (c) 2003  Akihiro MOTOKI
.\"         all rights reserved.
.\" Translated Tue Jul  8 02:25:57 JST 2003
.\"         by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
.\" 
.TH UNLOCKPT 3 "2003-01-30" "PTY Control" "Linux Programmer's Manual"
.SH ̾
unlockpt \- üޥ/졼֤ΥڥΥå
.SH 
.nf
.B #define _XOPEN_SOURCE
.br
.B #include <stdlib.h>
.sp
.BI "int unlockpt(int " fd ");"
.fi
.SH 
.BR unlockpt ()
ؿ
.I fd
ǻȤޥüб륹졼ֵüΥå
.PP
üΥ졼¦򥪡ץ󤹤ˡ
.BR unlockpt ()
ƤӽФɬפ롣
.SH ֤
.BR grantpt ()
 0 ֤Ǥʤ硢\-1 ֤
.I errno
ŬڤͤåȤ롣
.SH 顼
.TP
.B EBADF

.I fd
񤭹Ѥ˥ץ󤵤줿ե롦ǥץǤʤ
.TP
.B EINVAL

.I fd
ޥüбΤǤϤʤ
.SH 
POSIX 1003.1-2001.
.SH Ϣ
.IR grantpt (3),
.BR posix_openpt (3),
.IR ptsname (3),
.BR pts (4)