Go to the previous, next section.

vhangup

SYNOPSIS

int vhangup(void);

DESCRIPTION

Simulates a hang up on the current terminal.

RETURN VALUE

On success zero is returned. On error -1 is returned and errno is set to EPERM: the calling taks does not have superuser privileges.

Go to the previous, next section.