This commit is contained in:
K. Richard Pixley
1993-09-08 20:57:08 +00:00
parent 46c28185ab
commit 0ac0a9f6f1
4 changed files with 19 additions and 8 deletions

View File

@@ -132,8 +132,8 @@ serial_t serial_fdopen PARAMS ((int fd));
#define SERIAL_SETBAUDRATE(SERIAL_T, RATE) ((SERIAL_T)->ops->setbaudrate((SERIAL_T), RATE))
/* Write LEN chars from STRING to the port SERIAL_T. Returns 0 for success,
-1 for failure. */
/* Write LEN chars from STRING to the port SERIAL_T. Returns 0 for
success, non-zero for failure. */
#define SERIAL_WRITE(SERIAL_T, STRING, LEN) ((SERIAL_T)->ops->write((SERIAL_T), STRING, LEN))