*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> vhangup (2)              
Title
Content
Arch
Section
 

VHANGUP(2)

Contents


NAME    [Toc]    [Back]

       vhangup - virtually hangup the current tty

SYNOPSIS    [Toc]    [Back]

       #include <unistd.h>

       int vhangup(void);

DESCRIPTION    [Toc]    [Back]

       vhangup simulates a hangup on the current terminal.  This call arranges
       for other users to have a "clean" tty at login time.

RETURN VALUE    [Toc]    [Back]

       On success, zero is returned.  On error, -1 is returned, and  errno  is
       set appropriately.

ERRORS    [Toc]    [Back]

       EPERM  The user is not the super-user.

CONFORMING TO    [Toc]    [Back]

       This  call  is  Linux-specific,	and  should  not  be  used in programs
       intended to be portable.

SEE ALSO    [Toc]    [Back]

      
      
       init(8)



Linux 0.99.11			  1993-07-24			    VHANGUP(2)
[ Back ]
 Similar pages
Name OS Title
vhangup IRIX virtually ``hangup'' the current control terminal
glColor Tru64 set the current color
glColor3d Tru64 set the current color
glColor4ubv Tru64 set the current color
microtime FreeBSD get the current time
sethostname NetBSD get/set name of current host
setprogname NetBSD get/set the name of the current program
glColor3dv Tru64 set the current color
glColor3fv Tru64 set the current color
glColor3b Tru64 set the current color
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service