aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-01-29 19:07:02 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-01-29 19:07:02 +0000
commit3a479851ff70446bd7ef968ee5ffabc0aa61a73e (patch)
treea16ea2a0b4944dd81904758fbb249184e0ae3ca2 /gdb/serial.h
parenta0b352c0981863e4b8da4467f47ba298a6ac67d7 (diff)
downloadgdb-3a479851ff70446bd7ef968ee5ffabc0aa61a73e.zip
gdb-3a479851ff70446bd7ef968ee5ffabc0aa61a73e.tar.gz
gdb-3a479851ff70446bd7ef968ee5ffabc0aa61a73e.tar.bz2
* serial.h (SERIAL_SET_TTY_STATE): Comment return value.
* remote-es.c: Extensive changes to update to current conventions.
Diffstat (limited to 'gdb/serial.h')
-rw-r--r--gdb/serial.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/serial.h b/gdb/serial.h
index ed8b33a..9e669cb 100644
--- a/gdb/serial.h
+++ b/gdb/serial.h
@@ -105,7 +105,9 @@ serial_t serial_fdopen PARAMS ((const int fd));
#define SERIAL_GET_TTY_STATE(SERIAL_T) (SERIAL_T)->ops->get_tty_state((SERIAL_T))
/* Set the state of the tty to TTYSTATE. The change is immediate.
- When changing to or from raw mode, input might be discarded. */
+ When changing to or from raw mode, input might be discarded.
+ Returns 0 for success, negative value for error (in which case errno
+ contains the error). */
#define SERIAL_SET_TTY_STATE(SERIAL_T, TTYSTATE) (SERIAL_T)->ops->set_tty_state((SERIAL_T), (TTYSTATE))
/* printf_filtered a user-comprehensible description of ttystate. */