File: unlockpt.3

package info (click to toggle)
manpages-ja 0.5.0.0.20100315-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 21,156 kB
  • ctags: 1
  • sloc: sh: 13,935; perl: 157; makefile: 114
file content (58 lines) | stat: -rw-r--r-- 1,232 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
54
55
56
57
58
.\" 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 2008-06-14 "" "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 С
.BR unlockpt ()
ϡС 2.1 ʹߤ glibc 󶡤Ƥ롣
.SH 
POSIX.1-2001.
.SH Ϣ
.BR grantpt (3),
.BR posix_openpt (3),
.BR ptsname (3),
.BR pts (4),
.BR feature_test_macros (7),
.BR pty (7)