Date: Fri, 29 Nov 2002 15:07:29 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 21676 for review Message-ID: <200211292307.gATN7Tdm094405@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=21676 Change 21676 by marcel@marcel_vaio on 2002/11/29 15:07:22 IFC @21671 Affected files ... .. //depot/projects/ia64/games/factor/factor.6#3 integrate .. //depot/projects/ia64/lib/libc/gen/fts.3#3 integrate .. //depot/projects/ia64/lib/libc/locale/iswalnum.3#3 integrate .. //depot/projects/ia64/lib/libc/locale/mbrlen.3#5 integrate .. //depot/projects/ia64/lib/libc/locale/mbrtowc.3#3 integrate .. //depot/projects/ia64/lib/libc/locale/mbsinit.3#2 integrate .. //depot/projects/ia64/lib/libc/locale/mbsrtowcs.3#3 integrate .. //depot/projects/ia64/lib/libc/locale/towlower.3#3 integrate .. //depot/projects/ia64/lib/libc/locale/towupper.3#2 integrate .. //depot/projects/ia64/lib/libc/locale/utf8.5#3 integrate .. //depot/projects/ia64/lib/libc/locale/wcrtomb.3#3 integrate .. //depot/projects/ia64/lib/libc/locale/wcsftime.3#2 integrate .. //depot/projects/ia64/lib/libc/locale/wcsrtombs.3#3 integrate .. //depot/projects/ia64/lib/libc/locale/wcstod.3#2 integrate .. //depot/projects/ia64/lib/libc/locale/wcstol.3#3 integrate .. //depot/projects/ia64/lib/libc/locale/wctrans.3#3 integrate .. //depot/projects/ia64/lib/libc/locale/wctype.3#3 integrate .. //depot/projects/ia64/lib/libc/locale/wcwidth.3#3 integrate .. //depot/projects/ia64/lib/libc/net/rcmd.3#2 integrate .. //depot/projects/ia64/lib/libc/stdio/fseek.3#4 integrate .. //depot/projects/ia64/lib/libc/stdlib/atexit.3#3 integrate .. //depot/projects/ia64/lib/libc/stdlib/insque.3#2 integrate .. //depot/projects/ia64/lib/libc/stdlib/qsort.3#3 integrate .. //depot/projects/ia64/lib/libc/stdlib/strfmon.3#4 integrate .. //depot/projects/ia64/lib/libc/string/strcpy.3#8 integrate .. //depot/projects/ia64/lib/libc/string/strsep.3#3 integrate .. //depot/projects/ia64/lib/libc/sys/intro.2#6 integrate .. //depot/projects/ia64/lib/libc/sys/kse.2#4 integrate .. //depot/projects/ia64/lib/libc/sys/pathconf.2#3 integrate .. //depot/projects/ia64/lib/libc/sys/sigaction.2#8 integrate .. //depot/projects/ia64/lib/libc/sys/sigprocmask.2#4 integrate .. //depot/projects/ia64/lib/libc/sys/socketpair.2#2 integrate .. //depot/projects/ia64/lib/libc/sys/uuidgen.2#6 integrate .. //depot/projects/ia64/lib/libcompat/4.3/rexec.3#2 integrate .. //depot/projects/ia64/lib/libpam/modules/pam_radius/pam_radius.8#3 integrate .. //depot/projects/ia64/lib/libpam/modules/pam_wheel/pam_wheel.8#3 integrate .. //depot/projects/ia64/lib/libtacplus/libtacplus.3#3 integrate .. //depot/projects/ia64/libexec/rtld-elf/rtld.c#8 integrate .. //depot/projects/ia64/share/man/man3/stdarg.3#4 integrate .. //depot/projects/ia64/share/man/man4/ata.4#6 integrate .. //depot/projects/ia64/share/man/man4/cardbus.4#2 integrate .. //depot/projects/ia64/share/man/man4/dummynet.4#4 integrate .. //depot/projects/ia64/share/man/man4/ipfirewall.4#3 integrate .. //depot/projects/ia64/share/man/man4/ktr.4#3 integrate .. //depot/projects/ia64/share/man/man4/pccard.4#2 integrate .. //depot/projects/ia64/share/man/man4/stf.4#5 integrate .. //depot/projects/ia64/share/man/man4/tap.4#3 integrate .. //depot/projects/ia64/share/man/man4/tcp.4#7 integrate .. //depot/projects/ia64/share/man/man4/umass.4#4 integrate .. //depot/projects/ia64/share/man/man4/usb.4#5 integrate .. //depot/projects/ia64/share/man/man5/device.hints.5#5 integrate .. //depot/projects/ia64/share/man/man5/drivers.conf.5#6 integrate .. //depot/projects/ia64/share/man/man5/fs.5#3 integrate .. //depot/projects/ia64/share/man/man5/make.conf.5#24 integrate .. //depot/projects/ia64/share/man/man5/passwd.5#4 integrate .. //depot/projects/ia64/share/man/man5/rc.conf.5#18 integrate .. //depot/projects/ia64/share/man/man5/remote.5#2 integrate .. //depot/projects/ia64/share/man/man7/clocks.7#6 integrate .. //depot/projects/ia64/share/man/man7/firewall.7#6 integrate .. //depot/projects/ia64/share/man/man7/hier.7#13 integrate .. //depot/projects/ia64/share/man/man7/tuning.7#14 integrate .. //depot/projects/ia64/share/man/man8/rc.8#7 integrate .. //depot/projects/ia64/share/man/man8/rc.sendmail.8#5 integrate .. //depot/projects/ia64/share/man/man9/VOP_IOCTL.9#5 integrate .. //depot/projects/ia64/share/man/man9/VOP_LINK.9#3 integrate .. //depot/projects/ia64/share/man/man9/VOP_RENAME.9#3 integrate .. //depot/projects/ia64/share/man/man9/ifnet.9#5 integrate .. //depot/projects/ia64/share/man/man9/mbuf.9#4 integrate .. //depot/projects/ia64/share/man/man9/random.9#4 integrate .. //depot/projects/ia64/share/man/man9/style.9#18 integrate .. //depot/projects/ia64/share/man/man9/swi.9#4 integrate .. //depot/projects/ia64/share/man/man9/zone.9#8 integrate .. //depot/projects/ia64/sys/cam/scsi/scsi_da.c#22 integrate .. //depot/projects/ia64/sys/ia64/ia64/pmap.c#50 integrate .. //depot/projects/ia64/sys/ia64/include/bus.h#5 integrate .. //depot/projects/ia64/sys/ufs/ffs/ffs_vfsops.c#24 integrate .. //depot/projects/ia64/usr.sbin/getfmac/getfmac.8#2 integrate .. //depot/projects/ia64/usr.sbin/setfmac/setfmac.8#2 integrate Differences ... ==== //depot/projects/ia64/games/factor/factor.6#3 (text+ko) ==== @@ -34,24 +34,22 @@ .\" .\" @(#)factor.6 8.1 (Berkeley) 5/31/93 .\" -.\" $FreeBSD: src/games/factor/factor.6,v 1.7 2002/10/09 20:00:25 fanf Exp $ +.\" $FreeBSD: src/games/factor/factor.6,v 1.8 2002/11/29 16:21:33 ru Exp $ .\" .\" By: Landon Curt Noll chongo@toad.com, ...!{sun,tolsoft}!hoptoad!chongo .\" .\" chongo <for a good prime call: 391581 * 2^216193 - 1> /\oo/\ .\" -.Dd Oct 10, 2002 +.Dd October 10, 2002 .Dt FACTOR 6 .Os .Sh NAME -.Nm factor , -.Nm primes +.Nm factor , primes .Nd factor a number, generate primes .Sh SYNOPSIS .Nm .Op Fl h .Op Ar number ... -.br .Nm primes .Op Fl h .Op Ar start Op Ar stop @@ -60,7 +58,7 @@ .Nm utility will factor positive integers. When a number is factored, it is printed, followed by a -.Dq \&: , +.Ql \&: , and the list of factors on a single line. Factors are listed in ascending order, and are preceded by a space. If a factor divides a value more than once, it will be printed more than once. @@ -75,7 +73,8 @@ .Nm reads numbers, one per line, from standard input, until end of file or error. Leading white-space and empty lines are ignored. -Numbers may be preceded by a single +. +Numbers may be preceded by a single +.Ql + . Numbers are terminated by a non-digit character (such as a newline). After a number is read, it is factored. .Pp @@ -106,25 +105,22 @@ is taken to be the maximum. The .Ar start -value may be preceded by a single +. +value may be preceded by a single +.Ql + . The .Ar start value is terminated by a non-digit character (such as a newline). .Sh DIAGNOSTICS -.Bl -item -.It -negative numbers aren't permitted -.It -illegal numeric format -.It -start value must be less than stop value -.It -Result too large +.Bl -diag +.It "negative numbers aren't permitted" +.It "illegal numeric format" +.It "start value must be less than stop value" +.It "Result too large" .El .Sh BUGS .Nm cannot handle the -.Dq 10 most wanted +.Dq "10 most wanted" factor list, .Nm primes -won't get you a world record. +will not get you a world record. ==== //depot/projects/ia64/lib/libc/gen/fts.3#3 (text+ko) ==== @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)fts.3 8.5 (Berkeley) 4/16/94 -.\" $FreeBSD: src/lib/libc/gen/fts.3,v 1.14 2002/09/21 01:28:38 wollman Exp $ +.\" $FreeBSD: src/lib/libc/gen/fts.3,v 1.15 2002/11/29 15:57:48 ru Exp $ .\" .Dd September 15, 2002 .Dt FTS 3 @@ -64,7 +64,7 @@ The .Nm functions are provided for traversing -.Tn UNIX +.Ux file hierarchies. A simple overview is that the .Fn fts_open ==== //depot/projects/ia64/lib/libc/locale/iswalnum.3#3 (text+ko) ==== @@ -36,9 +36,9 @@ .\" SUCH DAMAGE. .\" .\" @(#)isalnum.3 5.2 (Berkeley) 6/29/91 -.\" $FreeBSD: src/lib/libc/locale/iswalnum.3,v 1.4 2002/10/03 14:09:06 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/iswalnum.3,v 1.5 2002/11/29 17:35:09 ru Exp $ .\" -.Dd December 22, 2000 +.Dd October 3, 2002 .Dt ISWALNUM 3 .Os .Sh NAME @@ -107,14 +107,12 @@ .Sh DESCRIPTION The above functions are character classification utility functions, for use with wide characters -.Po -.Fa wchar_t +.Vt ( wchar_t or -.Fa wint_t -.Pc . +.Vt wint_t ) . See the description for the similarly-named single byte classification functions (like -.Xr isalnum 3 ), +.Xr isalnum 3 ) , for details. .Sh RETURN VALUES The functions return zero if the character tests false and @@ -157,6 +155,8 @@ extensions. .Sh CAVEATS The result of these functions is undefined unless -the argument is WEOF or a valid +the argument is +.Dv WEOF +or a valid .Vt wchar_t value for the current locale. ==== //depot/projects/ia64/lib/libc/locale/mbrlen.3#5 (text+ko) ==== @@ -22,7 +22,8 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/locale/mbrlen.3,v 1.5 2002/11/09 10:21:01 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/mbrlen.3,v 1.6 2002/11/29 17:35:09 ru Exp $ +.\" .Dd November 11, 2002 .Dt MBRLEN 3 .Os @@ -38,7 +39,7 @@ .Sh DESCRIPTION The .Fn mbrlen -function determines the the number of bytes constituting the +function determines the number of bytes constituting the multibyte character sequence pointed to by .Fa s , examining at most @@ -46,7 +47,7 @@ bytes. .Pp The -.Ft mbstate_t +.Vt mbstate_t argument, .Fa ps , is used to keep track of the shift state. @@ -54,7 +55,7 @@ .Dv NULL , .Fn mbrlen uses an internal, static -.Ft mbstate_t +.Vt mbstate_t object. .Pp It is equivalent to: @@ -63,11 +64,13 @@ .Pp Except that when .Fa ps -is a NULL pointer, +is a +.Dv NULL +pointer, .Fn mbrlen uses its own static, internal -.Ft mbstate_t -object to keep track of shift state. +.Vt mbstate_t +object to keep track of the shift state. .Sh RETURN VALUES The .Fn mbrlen @@ -78,7 +81,8 @@ .Fa n or fewer bytes of .Fa s -represent the null wide character (L'\e0'). +represent the null wide character +.Pq Li "L'\e0'" . .It >0 The first .Fa n @@ -87,21 +91,13 @@ represent a valid character, .Fn mbrtowc returns the length (in bytes) of the multibyte sequence. -.It Xo -.No ( Ns -.Ft size_t Ns -.No ) Ns \&-2 -.Xc +.It Po Vt size_t Pc Ns \-2 The first .Fa n bytes of .Fa s are an incomplete multibyte sequence. -.It Xo -.No ( Ns -.Ft size_t Ns -.No ) Ns \&-1 -.Xc +.It Po Vt size_t Pc Ns \-1 The byte sequence pointed to by .Fa s is an invalid multibyte sequence. ==== //depot/projects/ia64/lib/libc/locale/mbrtowc.3#3 (text+ko) ==== @@ -22,7 +22,8 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/locale/mbrtowc.3,v 1.2 2002/09/06 11:23:45 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/mbrtowc.3,v 1.3 2002/11/29 17:35:09 ru Exp $ +.\" .Dd August 15, 2002 .Dt MBRTOWC 3 .Os @@ -34,7 +35,10 @@ .Sh SYNOPSIS .In wchar.h .Ft size_t -.Fn mbrtowc "wchar_t * restrict pwc" "const char * restrict s" "size_t n" "mbstate_t * restrict ps" +.Fo mbrtowc +.Fa "wchar_t * restrict pwc" "const char * restrict s" "size_t n" +.Fa "mbstate_t * restrict ps" +.Fc .Sh DESCRIPTION The .Fn mbrtowc @@ -52,7 +56,7 @@ the multibyte character which .Fa s represents is stored in the -.Ft wchar_t +.Vt wchar_t it points to. .Pp If @@ -65,13 +69,14 @@ was .Dv NULL , .Fa s -was an empty string ("") +was an empty string +.Pq Qq and .Fa n was 1. .Pp The -.Ft mbstate_t +.Vt mbstate_t argument, .Fa ps , is used to keep track of the shift state. @@ -79,7 +84,7 @@ .Dv NULL , .Fn mbrtowc uses an internal, static -.Ft mbstate_t +.Vt mbstate_t object. .Sh RETURN VALUES The @@ -91,7 +96,8 @@ .Fa n or fewer bytes of .Fa s -represent the null wide character (L'\e0'). +represent the null wide character +.Pq Li "L'\e0'" . .It >0 The first .Fa n @@ -100,21 +106,13 @@ represent a valid character, .Fn mbrtowc returns the length (in bytes) of the multibyte sequence. -.It Xo -.No ( Ns -.Ft size_t Ns -.No ) Ns \&-2 -.Xc +.It Po Vt size_t Pc Ns \-2 The first .Fa n bytes of .Fa s are an incomplete multibyte sequence. -.It Xo -.No ( Ns -.Ft size_t Ns -.No ) Ns \&-1 -.Xc +.It Po Vt size_t Pc Ns \-1 The byte sequence pointed to by .Fa s is an invalid multibyte sequence. ==== //depot/projects/ia64/lib/libc/locale/mbsinit.3#2 (text+ko) ==== @@ -22,7 +22,8 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/locale/mbsinit.3,v 1.1 2002/08/18 06:30:10 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/mbsinit.3,v 1.2 2002/11/29 17:35:09 ru Exp $ +.\" .Dd August 16, 2002 .Dt MBSINIT 3 .Os @@ -39,7 +40,7 @@ The .Fn mbsinit function determines whether the -.Ft mbstate_t +.Vt mbstate_t object pointed to by .Fa ps describes an initial conversion state. ==== //depot/projects/ia64/lib/libc/locale/mbsrtowcs.3#3 (text+ko) ==== @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/locale/mbsrtowcs.3,v 1.2 2002/09/06 11:23:45 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/mbsrtowcs.3,v 1.3 2002/11/29 17:35:09 ru Exp $ .Dd August 16, 2002 .Dt MBSRTOWCS 3 .Os @@ -34,7 +34,10 @@ .Sh SYNOPSIS .In wchar.h .Ft size_t -.Fn mbsrtowcs "wchar_t * restrict dst" "const char ** restrict src" "size_t len" "mbstate_t * restrict ps" +.Fo mbsrtowcs +.Fa "wchar_t * restrict dst" "const char ** restrict src" "size_t len" +.Fa "mbstate_t * restrict ps" +.Fc .Sh DESCRIPTION The .Fn mbsrtowcs @@ -43,10 +46,11 @@ into a sequence of corresponding wide characters and stores at most .Fa len of them in the -.Ft wchar_t +.Vt wchar_t array pointed to by .Fa dst , -until it encounters a terminating null character ('\e0'). +until it encounters a terminating null character +.Pq Li '\e0' . .Pp If .Fa dst @@ -62,12 +66,12 @@ .Fa src is updated to point to the character after the one that conversion stopped at. If conversion stops because a null character is encountered, -.No * Ns Fa src +.Fa *src is set to .Dv NULL . .Pp The -.Ft mbstate_t +.Vt mbstate_t argument, .Fa ps , is used to keep track of the shift state. @@ -75,7 +79,7 @@ .Dv NULL , .Fn mbsrtowcs uses an internal, static -.Ft mbstate_t +.Vt mbstate_t object. .Sh RETURN VALUES The @@ -84,9 +88,7 @@ the array pointed to by .Fa dst if successful, otherwise it returns -.No ( Ns -.Ft size_t Ns -.No ) Ns -1 . +.Po Vt size_t Pc Ns \-1 . .Sh ERRORS The .Fn mbsrtowcs ==== //depot/projects/ia64/lib/libc/locale/towlower.3#3 (text+ko) ==== @@ -34,14 +34,14 @@ .\" SUCH DAMAGE. .\" .\" @(#)tolower.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/towlower.3,v 1.4 2002/10/03 11:23:06 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/towlower.3,v 1.5 2002/11/29 17:35:09 ru Exp $ .\" .Dd October 3, 2002 .Dt TOWLOWER 3 .Os .Sh NAME .Nm towlower -.Nd upper case to lower case letter conversion (wide character version) +.Nd "upper case to lower case letter conversion (wide character version)" .Sh LIBRARY .Lb libc .Sh SYNOPSIS @@ -50,7 +50,7 @@ .Fn towlower "wint_t wc" .Sh DESCRIPTION The -.Fn tolower +.Fn towlower function converts an upper-case letter to the corresponding lower-case letter. .Sh RETURN VALUES ==== //depot/projects/ia64/lib/libc/locale/towupper.3#2 (text+ko) ==== @@ -34,14 +34,14 @@ .\" SUCH DAMAGE. .\" .\" @(#)toupper.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/towupper.3,v 1.1 2002/10/03 11:23:06 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/towupper.3,v 1.2 2002/11/29 17:35:09 ru Exp $ .\" .Dd October 3, 2002 .Dt TOWUPPER 3 .Os .Sh NAME .Nm towupper -.Nd lower case to upper case letter conversion (wide character version) +.Nd "lower case to upper case letter conversion (wide character version)" .Sh LIBRARY .Lb libc .Sh SYNOPSIS ==== //depot/projects/ia64/lib/libc/locale/utf8.5#3 (text+ko) ==== @@ -33,7 +33,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)utf2.4 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/locale/utf8.5,v 1.2 2002/10/30 11:49:05 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/utf8.5,v 1.3 2002/11/29 17:35:09 ru Exp $ .\" .Dd October 30, 2002 .Dt UTF8 5 @@ -54,8 +54,8 @@ so 0x00-0x7f refer to the .Tn ASCII character set. -The multibyte encoding of non- -.Tn ASCII +The multibyte encoding of +.No non- Ns Tn ASCII characters consist entirely of bytes whose high order bit is set. The actual @@ -94,7 +94,9 @@ is limited to a 16-bit character set, and that .Xr utf2 4 -accepts redundant, non-"shortest form" representations of characters. +accepts redundant, +.No non- Ns Dq "shortest form" +representations of characters. .Sh SEE ALSO .Xr euc 4 , .Xr utf2 4 ==== //depot/projects/ia64/lib/libc/locale/wcrtomb.3#3 (text+ko) ==== @@ -22,7 +22,8 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/locale/wcrtomb.3,v 1.2 2002/09/06 11:23:45 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/wcrtomb.3,v 1.3 2002/11/29 17:35:09 ru Exp $ +.\" .Dd August 15, 2002 .Dt WCRTOMB 3 .Os @@ -68,7 +69,7 @@ .Dv NULL , .Fn wcrtomb uses an internal, static -.Ft mbstate_t +.Vt mbstate_t object. .Sh RETURN VALUES The @@ -77,9 +78,7 @@ needed to represent .Fa wc , or -.No ( Ns -.Ft size_t Ns -.No ) Ns \&-1 +.Po Vt size_t Pc Ns \-1 if .Fa wc is not a valid wide character code. ==== //depot/projects/ia64/lib/libc/locale/wcsftime.3#2 (text+ko) ==== @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/locale/wcsftime.3,v 1.1 2002/09/11 08:57:11 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/wcsftime.3,v 1.2 2002/11/29 17:35:09 ru Exp $ .\" .Dd September 8, 2002 .Dt WCSFTIME 3 @@ -35,7 +35,10 @@ .Sh SYNOPSIS .In wchar.h .Ft size_t -.Fn wcsftime "wchar_t * restrict wcs" "size_t maxsize" "const wchar_t * restrict format" "const struct tm * restrict timeptr" +.Fo wcsftime +.Fa "wchar_t * restrict wcs" "size_t maxsize" +.Fa "const wchar_t * restrict format" "const struct tm * restrict timeptr" +.Fc .Sh DESCRIPTION The .Fn wcsftime @@ -48,7 +51,9 @@ .Sh COMPATIBILITY Some early implementations of .Fn wcsftime -had a format argument with type +had a +.Fa format +argument with type .Vt "const char *" instead of .Vt "const wchar_t *" . ==== //depot/projects/ia64/lib/libc/locale/wcsrtombs.3#3 (text+ko) ==== @@ -1,4 +1,4 @@ -.\" Copyright (c) [year] [your name] +.\" Copyright (c) 2002 Tim J. Robbins .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without @@ -22,7 +22,8 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/locale/wcsrtombs.3,v 1.2 2002/09/06 11:23:45 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/wcsrtombs.3,v 1.3 2002/11/29 17:35:09 ru Exp $ +.\" .Dd August 16, 2002 .Dt WCSRTOMBS 3 .Os @@ -34,7 +35,10 @@ .Sh SYNOPSIS .In wchar.h .Ft size_t -.Fn wcsrtombs "char * restrict dst" "const wchar_t ** restrict src" "size_t len" "mbstate_t * restrict ps" +.Fo wcsrtombs +.Fa "char * restrict dst" "const wchar_t ** restrict src" +.Fa "size_t len" "mbstate_t * restrict ps" +.Fc .Sh DESCRIPTION The .Fn wcsrtombs @@ -62,12 +66,12 @@ .Fa src is updated to point to the character after the one that conversion stopped at. If conversion stops because a null character is encountered, -.No * Ns Fa src +.Fa *src is set to .Dv NULL . .Pp The -.Ft mbstate_t +.Vt mbstate_t argument, .Fa ps , is used to keep track of the shift state. @@ -75,7 +79,7 @@ .Dv NULL , .Fn wcsrtombs uses an internal, static -.Ft mbstate_t +.Vt mbstate_t object. .Sh RETURN VALUES The @@ -84,9 +88,7 @@ the array pointed to by .Fa dst (not including any terminating null), if successful, otherwise it returns -.No ( Ns -.Ft size_t Ns -.No ) Ns -1 . +.Po Vt size_t Pc Ns \-1 . .Sh ERRORS The .Fn wcsrtombs @@ -97,8 +99,8 @@ .El .Sh SEE ALSO .Xr mbsrtowcs 3 , -.Xr wcstombs 3 , -.Xr wcrtomb 3 +.Xr wcrtomb 3 , +.Xr wcstombs 3 .Sh STANDARDS The .Fn wcsrtombs ==== //depot/projects/ia64/lib/libc/locale/wcstod.3#2 (text+ko) ==== @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/locale/wcstod.3,v 1.1 2002/09/15 08:38:51 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/wcstod.3,v 1.2 2002/11/29 16:36:53 ru Exp $ .\" .Dd September 12, 2002 .Dt WCSTOD 3 @@ -50,5 +50,5 @@ .Sh STANDARDS The .Fn wcstod -function conform to +function conforms to .St -isoC-99 . ==== //depot/projects/ia64/lib/libc/locale/wcstol.3#3 (text+ko) ==== @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/locale/wcstol.3,v 1.3 2002/09/22 08:06:45 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/wcstol.3,v 1.4 2002/11/29 17:35:09 ru Exp $ .\" .Dd September 7, 2002 .Dt WCSTOL 3 @@ -74,7 +74,7 @@ .Fn strtoimax and .Fn strtoumax -functions. +functions, respectively. Refer to their manual pages (for example .Xr strtol 3 ) for details. ==== //depot/projects/ia64/lib/libc/locale/wctrans.3#3 (text+ko) ==== @@ -22,14 +22,13 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/locale/wctrans.3,v 1.2 2002/10/03 08:49:29 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/wctrans.3,v 1.3 2002/11/29 17:35:09 ru Exp $ .\" .Dd October 3, 2002 .Dt WCTRANS 3 .Os .Sh NAME -.Nm towctrans , -.Nm wctrans +.Nm towctrans , wctrans .Nd "wide character mapping functions" .Sh LIBRARY .Lb libc @@ -50,7 +49,7 @@ .Pp The following character mapping names are recognised: .Bl -column -offset indent ".Li tolower" ".Li toupper" -.It Li tolower Ta Li toupper +.It Li "tolower toupper" .El .Pp The ==== //depot/projects/ia64/lib/libc/locale/wctype.3#3 (text+ko) ==== @@ -22,14 +22,13 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/locale/wctype.3,v 1.3 2002/10/03 08:49:29 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/wctype.3,v 1.4 2002/11/29 17:35:09 ru Exp $ .\" .Dd October 3, 2002 .Dt WCTYPE 3 .Os .Sh NAME -.Nm iswctype , -.Nm wctype +.Nm iswctype , wctype .Nd "wide character class functions" .Sh LIBRARY .Lb libc @@ -50,9 +49,9 @@ .Pp The following character class names are recognised: .Bl -column -offset indent ".Li alnum" ".Li cntrl" ".Li phonogram" ".Li print" ".Li special" -.It Li alnum Ta Li cntrl Ta Li ideogram Ta Li print Ta Li special -.It Li alpha Ta Li digit Ta Li lower Ta Li punct Ta Li upper -.It Li blank Ta Li graph Ta Li phonogram Ta Li space Ta Li xdigit +.It Li "alnum cntrl ideogram print special" +.It Li "alpha digit lower punct upper" +.It Li "blank graph phonogram space xdigit" .El .Pp The @@ -82,7 +81,7 @@ .Fn iswctype . .Sh EXAMPLES Reimplement -.Fn iswalpha +.Xr iswalpha 3 in terms of .Fn iswctype and @@ -104,10 +103,10 @@ functions conform to .St -p1003.1-2001 . The -.Li ideogram , -.Li phonogram +.Dq Li ideogram , +.Dq Li phonogram and -.Li special +.Dq Li special character classes are extensions. .Sh HISTORY The ==== //depot/projects/ia64/lib/libc/locale/wcwidth.3#3 (text+ko) ==== @@ -22,7 +22,8 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/locale/wcwidth.3,v 1.2 2002/10/03 08:49:29 tjr Exp $ +.\" $FreeBSD: src/lib/libc/locale/wcwidth.3,v 1.3 2002/11/29 17:35:09 ru Exp $ +.\" .Dd October 3, 2002 .Dt WCWIDTH 3 .Os @@ -47,7 +48,7 @@ function returns 0 if the .Fa wc argument is a null wide character (L'\e0'), --1 if +\-1 if .Fa wc is not printable, otherwise it returns the number of column positions the @@ -67,11 +68,11 @@ if ((w = wcwidth(ch)) > 0) column += w; if (column >= 20) { - putwchar(L'\n'); + putwchar(L'\en'); column = 0; } putwchar(ch); - if (ch == L'\n') + if (ch == L'\en') column = 0; } .Ed ==== //depot/projects/ia64/lib/libc/net/rcmd.3#2 (text+ko) ==== @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" From: @(#)rcmd.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/net/rcmd.3,v 1.20 2001/10/01 16:08:56 ru Exp $ +.\" $FreeBSD: src/lib/libc/net/rcmd.3,v 1.21 2002/11/29 15:57:49 ru Exp $ .\" .Dd March 3, 2000 .Dt RCMD 3 @@ -117,7 +117,7 @@ The control process will return diagnostic output from the command (unit 2) on this channel, and will also accept bytes on this channel as being -.Tn UNIX +.Ux signal numbers, to be forwarded to the process group of the command. If ==== //depot/projects/ia64/lib/libc/stdio/fseek.3#4 (text+ko) ==== @@ -34,7 +34,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)fseek.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/stdio/fseek.3,v 1.22 2002/10/12 16:13:40 mike Exp $ +.\" $FreeBSD: src/lib/libc/stdio/fseek.3,v 1.23 2002/11/29 15:57:49 ru Exp $ .\" .Dd October 12, 2002 .Dt FSEEK 3 @@ -166,7 +166,7 @@ and these routines may be the only way to portably reposition a text stream. .Pp If the stream is a wide character stream (see -.Xr fwide 3 Ns No ), +.Xr fwide 3 ) , the position specified by the combination of .Fa offset and ==== //depot/projects/ia64/lib/libc/stdlib/atexit.3#3 (text+ko) ==== @@ -34,7 +34,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)atexit.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/stdlib/atexit.3,v 1.8 2002/09/06 19:23:28 wollman Exp $ +.\" $FreeBSD: src/lib/libc/stdlib/atexit.3,v 1.9 2002/11/29 15:57:49 ru Exp $ .\" .Dd September 6, 2002 .Dt ATEXIT 3 @@ -66,7 +66,8 @@ if it should be necessary to terminate the process while in such a function, the .Xr _exit 2 -function should be used. (Alternatively, the function may cause abnormal +function should be used. +(Alternatively, the function may cause abnormal process termination, for example by calling .Xr abort 3 . ) .Pp ==== //depot/projects/ia64/lib/libc/stdlib/insque.3#2 (text+ko) ==== @@ -4,9 +4,9 @@ .\" All rights reserved. .\" .\" As long as the above copyright statement and this notice remain -.\" unchanged, you can do what ever you want with this file. +.\" unchanged, you can do what ever you want with this file. .\" -.\" $FreeBSD: src/lib/libc/stdlib/insque.3,v 1.1 2002/10/16 14:00:46 robert Exp $ +.\" $FreeBSD: src/lib/libc/stdlib/insque.3,v 1.2 2002/11/29 16:42:23 ru Exp $ .\" .Dd October 10, 2002 .Dt INSQUE 3 @@ -24,21 +24,30 @@ .Ft void .Fn remque "void *element" .Sh DESCRIPTION -.Pp The .Fn insque and .Fn remque functions encapsulate the ever-repeating task of doing insertion and -removal operations on doubly linked lists. The functions expect their +removal operations on doubly linked lists. +The functions expect their arguments to point to a structure whose first and second members are pointers to the next and previous element, respectively. The .Fn insque >>> TRUNCATED FOR MAIL (1000 lines) <<< To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211292307.gATN7Tdm094405>