In file ttynum.h:

uint32 chan_getindex

(char* tty)

Find the index of a channel in channels.

Documentation

Find the index of a channel in channels.

Given a device name, this function yields the index of the channel structure in the channels array.

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

Alphabetic index



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