Go to the source code of this file.
Defines | |
| #define | FILEDESCR int |
| #define | BADFILE -1 |
| #define | TTY_VARIABLE "RCXTTY" |
| environment variable to override defaults | |
| #define | DEFAULTTTY "/dev/ttyd2" |
| IRIX - second serial port. | |
Functions | |
| int | rcxInit (const char *tty, int highspeed) |
| initialize RCX communications port | |
| void | rcxShutdown () |
| shutdown RCX communications port | |
| FILEDESCR | rcxFD (void) |
| get RCX file descriptor | |
| void | myperror (char *str) |
| perror() wrapper | |
| int | mywrite (FILEDESCR fd, const void *buf, size_t len) |
| write() wrapper | |
Definition in file rcxtty.h.
|
|
|
|
|
IRIX - second serial port.
|
|
|
Definition at line 34 of file rcxtty.h. Referenced by main(), rcx_init(), rcxFD(), and rcxInit(). |
|
|
environment variable to override defaults
Definition at line 40 of file rcxtty.h. Referenced by main(). |
|
|
perror() wrapper
Definition at line 65 of file rcxtty.c. Referenced by keepaliveSend(), LNPinit(), nbread(), rcx_init(), rcx_send(), rcx_wakeup_tower(), and rcxInit(). |
|
||||||||||||||||
|
write() wrapper
Definition at line 73 of file rcxtty.c. References NULL. Referenced by keepaliveSend(), lnp_logical_write(), rcx_send(), and rcx_wakeup_tower(). |
|
|
get RCX file descriptor
Definition at line 61 of file rcxtty.c. References FILEDESCR. Referenced by io_handler(), keepaliveHandler(), keepaliveInit(), lnp_assured_write(), lnp_logical_write(), and LNPinit(). |
|
||||||||||||
|
initialize RCX communications port
Definition at line 110 of file rcxtty.c. References B2400, B4800, exit(), FILEDESCR, memset(), myperror(), NULL, rcxFd, and tty_usb. Referenced by LNPinit(). |
|
|
shutdown RCX communications port
Definition at line 220 of file rcxtty.c. References rcxFd. |
1.3.9.1