In file channels.h:

void channel_setresult

(char* tty, int32 result)

Set channel result code.

Documentation

Set channel result code.

This sets a channel's result code to the supplied value. It only affects the result code, so it can be used to update a channel's state after its condition changes.

Parameters:
tty - a UNIX tty name minus "/dev/".
- result the new result code for the line (one of the LSR_x flags).
See Also:
LSR_x flags.

Alphabetic index



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