use remote-utils facilities for baud_rate
[deliverable/binutils-gdb.git] / gdb / serial.h
index 808aad213c7f8549a05951263b000b5b967661b7..84916d32306d5e0e811b0bb171f0f80d7581db00 100644 (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))
 
This page took 0.02305 seconds and 4 git commands to generate.