Writes a character to a serial port.
serial-port
write-serial-port-char char serial-port &optional timeout-error-p => char
| char⇩ | 
A character. | 
| serial-port⇩ | 
A serial-port object. | 
| timeout-error-p⇩ | 
A boolean. | 
| char | 
The character char or  nil. | 
The function write-serial-port-char writes the character char to the serial port associated with serial-port, and returns char.
A timeout will occur if the character cannot be written before the write timeout (as specified by values given when the serial port was opened by open-serial-port).
When a timeout occurs, if timeout-error-p is non-nil, then an error of type serial-port-timeout is signaled, otherwise nil is returned. The default value of timeout-error-p is t.
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:55