diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-01 17:35:36 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-01 17:35:36 +0000 |
commit | b406ad206f6f8413a27055f65b23cdb0e577c430 (patch) | |
tree | e73454656bec5887ec5025511c2a79f9acf6f483 | |
parent | Addition of more functionality by Eric Norum to support GNU readline. (diff) | |
download | rtems-b406ad206f6f8413a27055f65b23cdb0e577c430.tar.bz2 |
Added return 0 to pollWrite and InterruptWrite examples. Chris
Johns <ccj@acm.org> suggested this.
-rw-r--r-- | doc/bsp_howto/console.t | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/doc/bsp_howto/console.t b/doc/bsp_howto/console.t index 5c48e5399b..12e2dadc6d 100644 --- a/doc/bsp_howto/console.t +++ b/doc/bsp_howto/console.t @@ -68,12 +68,7 @@ At this time, RTEMS documentation does not include a thorough discussion of the Termios functionality. For more information on Termios, type @code{man termios} on a Unix box or point a web browser at -@ifset use-html -@href{http://www.freebsd.org/cgi/man.cgi,,,http://www.freebsd.org/cgi/man.cgi}. -@end ifset -@ifclear use-html -@code{http://www.freebsd.org/cgi/man.cgi}. -@end ifclear +@uref{http://www.freebsd.org/cgi/man.cgi}. @section Driver Functioning Modes @@ -163,6 +158,7 @@ int pollWrite (int minor, const char *buf, int len) wait for the character to be transmitted on the serial line @} + return 0 @} @end group @end example @@ -232,7 +228,8 @@ that the @code{len} characters at @code{buf} are to be transmitted. @example static int InterruptWrite(int minor, const char *buf, int len) @{ - tell the UART to transmit len characters from buf + tell the UART to transmit len characters from buf + return 0 @} @end example |