docs/75577: typos in man3 manual pages, login_class.3, login_ok.3, mbrune.3, ncurses.3, pam_fail_delay.3, pcap.3, posix1e.3.

n-kogane at syd.odn.ne.jp n-kogane at syd.odn.ne.jp
Tue Dec 28 15:40:20 UTC 2004


>Number:         75577
>Category:       docs
>Synopsis:       typos in man3 manual pages, login_class.3, login_ok.3, mbrune.3, ncurses.3, pam_fail_delay.3, pcap.3, posix1e.3.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 28 15:40:19 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Nobuyuki Koganemaru
>Release:        FreeBSD 4.11-RC1 i386
>Organization:
KOGANEMARU Computer Engineering Service Corporation.
>Environment:
FreeBSD kcesx3.koganemaru.co.jp 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Tue May 25 22:47:12 GMT 2004     root at perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


>Description:
	I found some typos in login_class.3, login_ok.3, mbrune.3, ncurses.3,
	pam_fail_delay.3, pcap.3, posix1e.3.

>How-To-Repeat:
	Do "man 3 xxxxx".
>Fix:

diff -u login_class.3.orig ./login_class.3
--- login_class.3.orig	Sat Dec 18 00:08:09 2004
+++ ./login_class.3	Wed Dec 29 00:20:57 2004
@@ -61,7 +61,6 @@
 sets various class context values (resource limits, umask and
 process priorities) based on values for a specific named class.
 .Pp
-The function
 .Fn setusercontext
 function sets class context values based on a given login_cap_t
 object and a specific passwd record (if login_cap_t is NULL),
diff -u login_ok.3.orig ./login_ok.3
--- login_ok.3.orig	Sat Dec 18 00:08:09 2004
+++ ./login_ok.3	Wed Dec 29 00:21:45 2004
@@ -55,7 +55,7 @@
 An empty
 .Em ttys.allow
 list (or if no such capability exists for
-the give login class) logins via any tty device are allowed unless
+the given login class) logins via any tty device are allowed unless
 the
 .Em ttys.deny
 list exists and is non-empty, and the device or its
diff -u mbrune.3.orig ./mbrune.3
--- mbrune.3.orig	Sat Dec 18 00:08:11 2004
+++ ./mbrune.3	Wed Dec 29 00:27:18 2004
@@ -64,7 +64,7 @@
 The
 .Fn mbrune
 function locates the first occurrence of
-.Fn rune
+.Fa rune
 in the string pointed to by
 .Ar string .
 The terminating
@@ -126,14 +126,14 @@
 The
 .Fn mbrrune
 function
-returns a pointer to the character, or
+returns a pointer to the located character, or
 .Dv NULL
 if the character does not appear in the string.
 .Pp
 The
 .Fn mbmb
 function
-returns a pointer to the
+returns a pointer to the located
 .Fa pattern ,
 or
 .Dv NULL
@@ -141,7 +141,6 @@
 .Fa pattern
 does not appear in the string.
 .Sh "SEE ALSO
-.Xr mbrune 3 ,
 .Xr rune 3 ,
 .Xr setlocale 3 ,
 .Xr euc 4 ,
diff -u ncurses.3.orig ./ncurses.3
--- ncurses.3.orig	Sat Dec 18 00:08:08 2004
+++ ./ncurses.3	Wed Dec 29 00:33:48 2004
@@ -103,7 +103,7 @@
 routines are \fBmove\fR and \fBaddch\fR.  More general versions of
 these routines are included with names beginning with \fBw\fR,
 allowing the user to specify a window.  The routines not beginning
-with \fBw\fR affect \fBstdscr\fR.)
+with \fBw\fR affect \fBstdscr\fR.
 
 After using routines to manipulate a window, \fBrefresh\fR is called,
 telling \fBcurses\fR to make the user's CRT screen look like
@@ -159,7 +159,6 @@
 which is used for certain low-level operations like clearing and redrawing a
 screen containing garbage.  The \fBcurscr\fR can be used in only a few
 routines.
-
 .SS Routine and Argument Names
 Many \fBcurses\fR routines have two or more versions.  The routines prefixed
 with \fBw\fR require a window argument.  The routines prefixed with \fBp\fR
@@ -186,7 +185,6 @@
 \fBchtype\fR.  The types \fBWINDOW\fR, \fBSCREEN\fR, \fBbool\fR, and
 \fBchtype\fR are defined in \fB<curses.h>\fR.  The type \fBTERMINAL\fR
 is defined in \fB<term.h>\fR.  All other arguments are integers.
-
 .SS Routine Name Index
 The following table lists each \fBcurses\fR routine and the name of
 the manual page on which it is described.  Routines flagged with `*'
@@ -719,7 +717,6 @@
 @DATADIR@/tabset
 directory containing initialization files for the terminal capability database
 /usr/share/misc/terminfo
-terminal capability database
 .SH SEE ALSO
 \fBterminfo\fR(\*n) and 3X pages whose names begin "curs_" for detailed routine
 descriptions.
@@ -904,7 +901,7 @@
 ANSI C standard (see section 3.5.4.1), these declarations are either (a)
 meaningless, or (b) meaningless and illegal.  The declaration
 \fBconst char *x\fR is a modifiable pointer to unmodifiable data, but
-\fBchar *const x\fR' is
+\fBchar *const x\fR is
 an unmodifiable pointer to modifiable data.  Given that C passes arguments by
 value, \fB<type> *const\fR as a formal type is at best dubious.  Some compilers
 choke on the prototypes.  Therefore, in this implementation, they have been
diff -u pam_fail_delay.3.orig ./pam_fail_delay.3
--- pam_fail_delay.3.orig	Sat Dec 18 00:08:17 2004
+++ ./pam_fail_delay.3	Wed Dec 29 00:36:03 2004
@@ -57,7 +57,7 @@
 and/or the authentication modules, both may have an interest in
 delaying a reapplication for service by the user.  The length of the
 delay is computed at the time it is required.  Its length is
-pseudo-gausianly distributed about the
+pseudo-gaussianly distributed about the
 .I maximum
 requested value; the resultant delay will differ by as much as 25% of
 this maximum requested value (both up and down).
diff -u pcap.3.orig ./pcap.3
--- pcap.3.orig	Sat Dec 18 00:08:17 2004
+++ ./pcap.3	Wed Dec 29 00:39:01 2004
@@ -159,7 +159,7 @@
 .I errbuf
 may also be set to warning text when
 .B pcap_open_live()
-succeds; to detect this case the caller should store a zero-length string in
+succeeds; to detect this case the caller should store a zero-length string in
 .I errbuf
 before calling
 .B pcap_open_live()
@@ -366,7 +366,7 @@
 .I cnt
 specifies the maximum number of packets to process before returning.
 This is not a minimum number; when reading a live capture, only one
-bufferful of packets is read at a time, so fewer than
+buffer full of packets is read at a time, so fewer than
 .I cnt
 packets may be processed. A
 .I cnt
@@ -393,7 +393,7 @@
 packets arrive, the timeout expires before any packets arrive, or if the
 file descriptor for the capture device is in non-blocking mode and no
 packets were available to be read) or if no more packets are available
-in a ``savefile.'' A return of \-1 indicates
+in a ``savefile''. A return of \-1 indicates
 an error in which case
 .B pcap_perror()
 or
@@ -667,7 +667,7 @@
 .PP
 .B pcap_snapshot()
 returns the snapshot length specified when
-.B pcap_open_live
+.B pcap_open_live()
 was called.
 .PP
 .B pcap_is_swapped()
@@ -683,7 +683,7 @@
 savefile.
 .PP
 .B pcap_file()
-returns the standard I/O stream of the ``savefile,'' if a ``savefile''
+returns the standard I/O stream of the ``savefile'', if a ``savefile''
 was opened with
 .BR pcap_open_offline() ,
 or NULL, if a network device was opened with
@@ -738,7 +738,7 @@
 and deallocates resources.
 .PP
 .B pcap_dump_close()
-closes the ``savefile.''
+closes the ``savefile''.
 .PP
 .SH SEE ALSO
 tcpdump(1), tcpslice(1)
diff -u posix1e.3.orig ./posix1e.3
--- posix1e.3.orig	Sat Dec 18 00:08:17 2004
+++ ./posix1e.3	Wed Dec 29 00:40:02 2004
@@ -85,7 +85,6 @@
 .Fx 4.0
 so as to discourage their
 use in the short term.
-.Sh FILES
 .Sh SEE ALSO
 .Xr acl 3 ,
 .Xr acl 9 ,
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list