vhangup

VHANGUP(2)                 Linux Programmer's Manual                VHANGUP(2)



åå
       vhangup - ç¾å¨ã®ç«¯æ«ãä»®æ³çã« (virtualy) ãã³ã°ã¢ãã (hangup) ããã

æ¸å¼
       #include <unistd.h>

       int vhangup(void);

   glibc åãã®æ©è½æ¤æ»ãã¯ãã®è¦ä»¶ (feature_test_macros(7)  åç§):

       vhangup(): _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE < 500)

説æ
       vhangup()  ã¯ç¾å¨ã®ç«¯æ« (terminal)
       ã§ãã³ã°ã¢ãããã·ãã¥ã¬ã¼ãããããã®ã³ã¼ã«ã¯ä»ã®ã¦ã¼ã¶ã¼ããã°ã¤ã³ããæã«ç¶ºéº
       (clean) ãªç«¯æ«ãå¾ããã¨ãã§ããããæéããã

è¿ãå¤
       æåããå ´å㯠0 ãè¿ããããã¨ã©ã¼ã®å ´å㯠-1 ãè¿ããã errno ãé©åã«è¨å®ãããã

ã¨ã©ã¼
       EPERM  å¼ã³åºãåããã»ã¹ã« vhangup()  ãå¼ã³åºãããã®ååãªç¹æ¨©ããªãã
              CAP_SYS_TTY_CONFIG ã±ã¼ãããªã㣠(capability) ãå¿è¦ã§ããã

æºæ
       ãã®ã³ã¼ã«ã¯ Linux ç¹æã§ããã移æ¤ãæå³ããããã°ã©ã 㧠使ç¨ãã¦ã¯ãããªãã

é¢é£é ç®
       capabilities(7), init(8)

ãã®ææ¸ã«ã¤ãã¦
       ãã® man ãã¼ã¸ã¯ Linux man-pages ããã¸ã§ã¯ãã®ãªãªã¼ã¹ 3.51 ã®ä¸é¨
       ã§ãããããã¸ã§ã¯ãã®èª¬æã¨ãã°å ±åã«é¢ããæå ±ã¯
       http://www.kernel.org/doc/man-pages/ ã«æ¸ããã¦ããã



Linux                             2007-07-26                        VHANGUP(2)