From b406ad206f6f8413a27055f65b23cdb0e577c430 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 1 Oct 1999 17:35:36 +0000 Subject: Added return 0 to pollWrite and InterruptWrite examples. Chris Johns suggested this. --- doc/bsp_howto/console.t | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'doc') 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 -- cgit v1.2.3