OSDN Git Service

(split) Import translated manuals from JM CVS Repository.
[linuxjm/LDP_man-pages.git] / release / man2 / vhangup.2
1 .\" Hey Emacs! This file is -*- nroff -*- source.
2 .\"
3 .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu)
4 .\"
5 .\" Permission is granted to make and distribute verbatim copies of this
6 .\" manual provided the copyright notice and this permission notice are
7 .\" preserved on all copies.
8 .\"
9 .\" Permission is granted to copy and distribute modified versions of this
10 .\" manual under the conditions for verbatim copying, provided that the
11 .\" entire resulting derived work is distributed under the terms of a
12 .\" permission notice identical to this one.
13 .\"
14 .\" Since the Linux kernel and libraries are constantly changing, this
15 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
16 .\" responsibility for errors or omissions, or for damages resulting from
17 .\" the use of the information contained herein.  The author(s) may not
18 .\" have taken the same level of care in the production of this manual,
19 .\" which is licensed free of charge, as they might when working
20 .\" professionally.
21 .\"
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
24 .\" Modified, 27 May 2004, Michael Kerrisk <mtk.manpages@gmail.com>
25 .\"     Added notes on capability requirements
26 .\"
27 .\" Japanese Version Copyright (c) 1997 HANATAKA Shinya
28 .\"         all rights reserved.
29 .\" Translated Tue Mar  4 00:12:32 JST 1997
30 .\"         by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
31 .\" Updated & Modified Tue Feb 15 03:38:03 JST 2005
32 .\"         by Yuichi SATO <ysato444@yahoo.co.jp>
33 .\"
34 .\"WORD:        virtualy                ²¾ÁÛŪ¤Ë
35 .\"WORD:        hangup                  ¥Ï¥ó¥°¥¢¥Ã¥×
36 .\"WORD:        terminal                Ã¼Ëö
37 .\"
38 .TH VHANGUP 2 2007-07-26 "Linux" "Linux Programmer's Manual"
39 .SH Ì¾Á°
40 vhangup \- ¸½ºß¤Î tty ¤ò²¾ÁÛŪ¤Ë (virtualy) ¥Ï¥ó¥°¥¢¥Ã¥× (hangup) ¤µ¤»¤ë
41 .SH ½ñ¼°
42 .B #include <unistd.h>
43 .sp
44 .B int vhangup(void);
45 .sp
46 .in -4n
47 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
48 .RB ( feature_test_macros (7)
49 »²¾È):
50 .in
51 .sp
52 .ad l
53 .BR vhangup ():
54 _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
55 .ad b
56 .SH ÀâÌÀ
57 .BR vhangup ()
58 ¤Ï¸½ºß¤ÎüËö (terminal) ¤Ç¥Ï¥ó¥°¥¢¥Ã¥×¤ò¥·¥ß¥å¥ì¡¼¥È¤¹¤ë¡£
59 ¤³¤Î¥³¡¼¥ë¤Ï¾¤Î¥æ¡¼¥¶¡¼¤¬¥í¥°¥¤¥ó¤·¤¿»þ¤ËåºÎï (clean) ¤Ê tty ¤ò
60 ÆÀ¤ë¤³¤È¤¬¤Ç¤­¤ë¤è¤¦¼êÇÛ¤¹¤ë¡£
61 .SH ÊÖ¤êÃÍ
62 À®¸ù¤·¤¿¾ì¹ç¤Ï 0 ¤¬ÊÖ¤µ¤ì¤ë¡£¥¨¥é¡¼¤Î¾ì¹ç¤Ï \-1 ¤¬ÊÖ¤µ¤ì¡¢
63 .I errno
64 ¤¬Å¬ÀÚ¤ËÀßÄꤵ¤ì¤ë¡£
65 .SH ¥¨¥é¡¼
66 .TP
67 .B EPERM
68 ¸Æ¤Ó½Ð¤·¸µ¥×¥í¥»¥¹¤Ë
69 .BR vhangup ()
70 ¤ò¸Æ¤Ó½Ð¤¹¤¿¤á¤Î½½Ê¬¤ÊÆø¢¤¬¤Ê¤¤¡£
71 .B CAP_SYS_TTY_CONFIG
72 ¥±¡¼¥Ñ¥Ó¥ê¥Æ¥£ (capability) ¤¬É¬ÍפǤ¢¤ë¡£
73 .SH ½àµò
74 ¤³¤Î¥³¡¼¥ë¤Ï Linux ÆÃÍ­¤Ç¤¢¤ê¡¢°Ü¿¢¤ò°Õ¿Þ¤·¤¿¥×¥í¥°¥é¥à¤Ç
75 »ÈÍѤ·¤Æ¤Ï¤¤¤±¤Ê¤¤¡£
76 .SH ´ØÏ¢¹àÌÜ
77 .BR capabilities (7),
78 .BR init (8)