In file channels.h:

int channel_disconnect

(char* ttyname)

Disconnect a channel.

Documentation

Disconnect a channel.

This kills a channel, causing it to respawn from scratch. Any user logged at that time on is unceremoniously kicked out in the process.

Parameters:
tty - a UNIX tty name minus "/dev/".
Returns:
If all goes well, 0 is returned. Anything else denotes an error (errno will be set accordingly).

Alphabetic index



This page was generated with the help of DOC++.