Files
oldlinux-files/Ref-docs/syscalls/syscalls_112.html
2024-02-19 00:21:47 -05:00

22 lines
1.1 KiB
HTML

<html><!-- This HTML file has been created by texi2html 1.29
from syscalls.texi on 4 June 1994 -->
<TITLE>Syscall specifications of Linux - vhangup</TITLE>
<P>Go to the <A HREF="syscalls_111.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_111.html">previous</A>, <A HREF="syscalls_113.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_113.html">next</A> section.<P>
<H2><A NAME="SEC112" HREF="syscalls_toc.html#SEC112" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_toc.html#SEC112">vhangup</A></H2>
<P>
<H3>SYNOPSIS</H3>
<P>
<CODE>int vhangup(void);</CODE>
<H3>DESCRIPTION</H3>
<P>
Simulates a hang up on the current terminal.
<P>
<H3>RETURN VALUE</H3>
<P>
On success zero is returned. On error -1 is returned and <CODE>errno</CODE> is
set to <CODE>EPERM</CODE>: the calling taks does not have superuser privileges.
<P>
<P>Go to the <A HREF="syscalls_111.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_111.html">previous</A>, <A HREF="syscalls_113.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_113.html">next</A> section.<P>