In file miscfx.h:

int bbsdcommand

(char* command, char* tty, char* arg)

Sends a command to the BBS daemon.

Documentation

Sends a command to the BBS daemon.

This function composes a command to the BBS daemon, bbsd, and sends it. BBS commands perform certain restricted tasks, like throwing other BBS users off the system, et cetera.

This is a low-level command. Most existing bbsd commands have individual functions to simplify the interface for the user.

Parameters:
command - The command to send to bbsd.
tty - The first argument of the bbsd command is always a BBS channel name, in the form of a TTY device name, without the "/dev/". For instance, the third Linux virtual console would be identified as "tty3".
arg - The second argument of the command.

Alphabetic index



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