This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Some documentation fix for argp.h and terminal.texi


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 at debian dot or dot jp>

	* argp/argp.h: Fix a typo, reported by H.S.Teoh <hsteoh at quickfur dot ath dot 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/	2002-12-29 12:16:50.000000000 +0900
@@ -1617,7 +1617,7 @@
 @comment termios.h
 @comment BSD
- at deftypefun int cfmakeraw (struct termios * at var{termios-p})
+ at deftypefun void cfmakeraw (struct termios * at var{termios-p})
 This function provides an easy way to set up @code{* at 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]