.\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu) .\" .\" %%%LICENSE_START(VERBATIM) .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. .\" .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one. .\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from .\" the use of the information contained herein. The author(s) may not .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" %%%LICENSE_END .\" .\" Modified, 27 May 2004, Michael Kerrisk .\" Added notes on capability requirements .\" .\" Tradotto da Goffredo Baroncelli il 9/4/1998 .\" Aggiornamento a man-pages-2.11 di Giulio Daprelà .\" novembre 2005 .\" Aggiornamento a man-pages-2.64 di Elisabetta Galli .\" agosto 2007 .\" Aggiornamento a man-pages-3.53 di Marco Curreli .\" agosto 2013 (solo formattazione) .\" .TH VHANGUP 2 2007-07-26 "Linux" "Linux Programmer's Manual" .SH NOME vhangup \- sospende virtualmente il tty attuale .SH SINTASSI .B #include .sp .B int vhangup(void); .sp .in -4n Macro per test di funzionalità per glibc (vedere .BR feature_test_macros (7)): .in .sp .ad l .BR vhangup (): _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500) .ad b .SH DESCRIZIONE .BR vhangup () simula un hangup sul terminale attuale. Questa chiamata permette ad altri utenti di avere un terminale \*(lqpulito\*(rq quando effettueranno il login. .SH VALORI RESTITUITI In caso di successo restituisce zero. In caso di errore restituisce \-1, e .I errno verrà impostato di conseguenza. .SH ERRORI .TP .B EPERM Il processo chiamante non ha i privilegi sufficienti per chiamare .BR vhangup (); è richiesta la funzionalità .BR CAP_SYS_TTY_CONFIG . .SH CONFORME A Questa chiamata è specifica di Linux, e non deve essere usata in programmi pensati per essere portabili. .SH VEDERE ANCHE .BR capabilities (7), .BR init (8) .SH COLOPHON Questa pagina fa parte del rilascio 3.73 del progetto Linux .IR man-pages . Una descrizione del progetto, le istruzioni per la segnalazione degli errori, e l'ultima versione di questa pagina si trova su \%http://www.kernel.org/doc/man\-pages/. La versione italiana fa parte del pacchetto .I man-pages-it v. 3.73, a cura di: ILDP "Italian Linux Documentation Project" \%http://www.pluto.it/ildp .br Per la traduzione in italiano si pu\(`o fare riferimento a http://www.pluto.it/ildp/collaborare/ .br Segnalare eventuali errori di traduzione a .IR ildp@pluto.it