diff options
author | K. Richard Pixley <rich@cygnus> | 1993-08-13 21:47:01 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1993-08-13 21:47:01 +0000 |
commit | 0e5f1b37f69f499d04861e7cd8d276c870289e71 (patch) | |
tree | 45faafa8dc58aefa122daf91e6e0e4eb2f049d93 /gdb/serial.h | |
parent | f2f848b8229ad6fda41a64ccd4ad562a747c8f65 (diff) | |
download | gdb-0e5f1b37f69f499d04861e7cd8d276c870289e71.zip gdb-0e5f1b37f69f499d04861e7cd8d276c870289e71.tar.gz gdb-0e5f1b37f69f499d04861e7cd8d276c870289e71.tar.bz2 |
comment change
Diffstat (limited to 'gdb/serial.h')
-rw-r--r-- | gdb/serial.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/serial.h b/gdb/serial.h index a9dba27..808aad2 100644 --- a/gdb/serial.h +++ b/gdb/serial.h @@ -116,9 +116,10 @@ serial_t serial_fdopen PARAMS ((int fd)); ((*((SERIAL_T)->ops->noflush_set_tty_state)) \ ((SERIAL_T), (NEW_TTYSTATE), (OLD_TTYSTATE))) -/* Read one char from the serial device with TIMEOUT seconds timeout. - Returns char if ok, else one of the following codes. Note that all - error codes are guaranteed to be < 0. */ +/* Read one char from the serial device with TIMEOUT seconds to wait + or -1 to wait forever. Use timeout of 0 to effect a poll. Returns + char if ok, else one of the following codes. Note that all error + codes are guaranteed to be < 0. */ #define SERIAL_ERROR -1 /* General error, see errno for details */ #define SERIAL_TIMEOUT -2 |