Browse Source

observe the following spelling:

- wide character (noun)
- wide-character (adjective)
this is the "fix of least resistance", and appears to be in line with
posix style; a tiny fix still needed for curses, but i'll mail that
upstream;
OPENBSD_4_9
jmc 14 years ago
parent
commit
a72152100f
2 changed files with 9 additions and 9 deletions
  1. +5
    -5
      src/lib/libc/string/wcstok.3
  2. +4
    -4
      src/lib/libc/string/wmemchr.3

+ 5
- 5
src/lib/libc/string/wcstok.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: wcstok.3,v 1.5 2007/05/31 19:19:32 jmc Exp $
.\" $OpenBSD: wcstok.3,v 1.6 2010/09/10 18:38:20 jmc Exp $
.\"
.\" $NetBSD: wcstok.3,v 1.3 2003/09/08 17:54:33 wiz Exp $
.\"
@ -54,7 +54,7 @@
.\" Original version ID:
.\" FreeBSD: src/lib/libc/string/wcstok.3,v 1.4 2002/10/15 09:49:54 tjr Exp
.\"
.Dd $Mdocdate: May 31 2007 $
.Dd $Mdocdate: September 10 2010 $
.Dt WCSTOK 3
.Os
.Sh NAME
@ -68,7 +68,7 @@
The
.Fn wcstok
function
is used to isolate sequential tokens in a NUL-terminated wide character
is used to isolate sequential tokens in a NUL-terminated wide-character
string,
.Fa str .
These tokens are separated in the string by at least one of the
@ -89,7 +89,7 @@ must be provided on each call.
.Pp
The
.Fn wcstok
function is the wide character counterpart of the
function is the wide-character counterpart of the
.Fn strtok_r
function.
.Sh RETURN VALUES
@ -100,7 +100,7 @@ returns a pointer to the beginning of each subsequent token in the string,
after replacing the token itself with a NUL wide character (L'\e0').
When no more tokens remain, a null pointer is returned.
.Sh EXAMPLES
The following code fragment splits a wide character string on
The following code fragment splits a wide-character string on
.Tn ASCII
space, tab, and newline characters and writes the tokens to
standard output:


+ 4
- 4
src/lib/libc/string/wmemchr.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: wmemchr.3,v 1.3 2007/05/31 19:19:32 jmc Exp $
.\" $OpenBSD: wmemchr.3,v 1.4 2010/09/10 18:38:20 jmc Exp $
.\"
.\" $NetBSD: wmemchr.3,v 1.9 2003/09/08 17:54:33 wiz Exp $
.\"
@ -35,7 +35,7 @@
.\"
.\" from: @(#)strcpy.3 8.1 (Berkeley) 6/4/93
.\"
.Dd $Mdocdate: May 31 2007 $
.Dd $Mdocdate: September 10 2010 $
.Dt WMEMCHR 3
.Os
.Sh NAME
@ -59,7 +59,7 @@
.Nm wcsrchr ,
.Nm wcsspn ,
.Nm wcsstr
.Nd wide character string manipulation operations
.Nd wide-character string manipulation operations
.Sh SYNOPSIS
.In wchar.h
.Ft wchar_t *
@ -103,7 +103,7 @@
.Ft wchar_t *
.Fn wcsstr "const wchar_t *s1" "const wchar_t *s2"
.Sh DESCRIPTION
These functions implement string manipulation operations over wide character
These functions implement string manipulation operations over wide-character
strings.
For a detailed description, refer to documents for the respective single-byte
counterpart, such as


Loading…
Cancel
Save