In file ttynum.h:

uint32 chan_getnum

(char* tty)

Find the channel number of a device.

Documentation

Find the channel number of a device.

Maps device name to channel number, effectively yielding the number of a channel associated with the given device.

Parameters:
tty - The name of a device special, without the "/dev/".
Returns:
The channel number associated with the given device, or NULL if the device is not associated with a BBS channel.

Alphabetic index



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