Signup
Search Linux manpages For:  

vhangup(2) -- Linux man page

 

NAME

vhangup - virtually hangup the current tty  

SYNOPSIS

#include <unistd.h>

int vhangup(void);  

DESCRIPTION

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

RETURN VALUE

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

ERRORS

EPERM
The user is not the super-user.
 

CONFORMING TO

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

SEE ALSO

init(8)


 
LINUX MAN PAGES
Man1 -- User Commands (Intro)
Man2 -- System Calls (Intro)
Man3 -- Library Functions (Intro)
Man4 -- Special Files (Intro)
Man5 -- File Formats (Intro)
Man6 -- Games (Intro)
Man7 -- Miscellaneous (Intro)
Man8 -- Administration (Intro)
Mann -- TCL Functions (not available)


WEB HOSTING SHOWCASE




 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2012 Broadband Media, Inc. All rights reserved.