[PATCH] Some documentation fix for argp.h and terminal.texi
GOTO Masanori
gotom@debian.or.jp
Sat Mar 1 00:12:00 GMT 2003
Hi,
This patch fixes two typo for argp/argp.h and manual/terminal.texi.
argp/argp.h has a typo, s/puncuation/punctuation/.
manual/terminal.texi has a wrong definition cfmakeraw(), that
info says:
- Function: int cfmakeraw (struct termios *TERMIOS-P)
but /usr/include/termios.h says:
extern void cfmakeraw (struct termios *__termios_p) __THROW;
It's trivial things, but please apply it.
Thanks In Advance,
-- gotom
2003-03-01 GOTO Masanori <gotom@debian.or.jp>
* argp/argp.h: Fix a typo, reported by H.S.Teoh <hsteoh@quickfur.ath.cx>
* manual/terminal.texi: Fix cfmakeraw() definition from int to void.
--- argp/argp.h.ORIG 2002-12-30 09:08:17.000000000 -0500
+++ argp/argp.h 2002-12-30 09:10:28.000000000 -0500
@@ -96,7 +96,7 @@
is set, then the option NAME field is displayed unmodified (e.g., no `--'
prefix is added) at the left-margin (where a *short* option would normally
be displayed), and the documentation string in the normal place. For
- purposes of sorting, any leading whitespace and puncuation is ignored,
+ purposes of sorting, any leading whitespace and punctuation is ignored,
except that if the first non-whitespace character is not `-', this entry
is displayed after all options (and OPTION_DOC entries with a leading `-')
in the same group. */
--- manual/terminal.texi 2002-10-11 02:50:16.000000000 +0900
+++ manual/terminal.texi.new 2002-12-29 12:16:50.000000000 +0900
@@ -1617,7 +1617,7 @@
@comment termios.h
@comment BSD
-@deftypefun int cfmakeraw (struct termios *@var{termios-p})
+@deftypefun void cfmakeraw (struct termios *@var{termios-p})
This function provides an easy way to set up @code{*@var{termios-p}} for
what has traditionally been called ``raw mode'' in BSD. This uses
noncanonical input, and turns off most processing to give an unmodified
More information about the Libc-alpha
mailing list