Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C Library Reference - a<b> wide string</b> is an array of wide characters (with type wchar_t) that is http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
A wide string is an array of wide characters (with type wchar_t) that is
terminated with an extra null wide character (L'\0').  Functions are passed
only the address of the string since the size can be determined by searching
for the terminating character.  The functions that begin with "_f" accept
far pointers as their arguments allowing manipulation of any memory location
regardless of which memory model your program has been compiled for.  The
following functions are defined:

_bwprintf (see _bprintf)
    formatted wide character transmission to fixed-length wcsing

swprintf (see sprintf)
    formatted wide character transmission to string

swscanf (see sscanf)
    scan from wide character string under format control

_vbwprintf (see _vbprintf)
    same as "_bwprintf" but with variable arguments

vswscanf (see vsscanf)
    same as "swscanf" but with variable arguments

wcscat (see strcat)
    concatenate string

wcschr (see strchr)
    locate character in string

wcscmp (see strcmp)
    compare two strings

wcscmpi (see strcmpi)
    compare two strings with case insensitivity

wcscoll (see strcoll)
    compare two strings using "locale" collating sequence

wcscpy (see strcpy)
    copy a string

wcscspn (see strcspn)
    get number of string characters not from a set of characters

_wcsdec (see _strdec)
    returns pointer to the previous character in string

_wcsdup (see strdup)
    allocate and duplicate a string

wcserror (see strerror)
    get error message as string

_wcsicmp (see stricmp)
    compare two strings with case insensitivity

_wcsinc (see _strinc)
    return pointer to next character in string

wcslen (see strlen)
    string length

_wcslwr (see strlwr)
    convert string to lowercase

wcsncat (see strncat)
    concatenate two strings, up to a maximum length

wcsncmp (see strncmp)
    compare two strings up to maximum length

_wcsncnt (see _mbsnbcnt)
    count the number of characters in the first "n" bytes

wcsncpy (see strncpy)
    copy a string, up to a maximum length

_wcsnextc (see _mbsnextc)
    return integer value of the next multibyte-character in string

_wcsnicmp (see strnicmp)
    compare two strings with case insensitivity up to a maximum length

_wcsninc (see _strninc)
    increment wide character pointer by "n" characters

_wcsnset (see strnset)
    fill string with character to a maximum length

wcspbrk (see strpbrk)
    locate occurrence of a string within a second string

wcsrchr (see strrchr)
    locate last occurrence of character from a character set

_wcsrev (see strrev)
    reverse a string in place

_wcsset (see strset)
    fill string with a character

wcsspn (see strspn)
    find number of characters at start of string which are also in a second
    string

_wcsspnp (see strspnp)
    return pointer to first character of string not in set

wcsstr (see strstr)
    find first occurrence of string in second string

wcstok (see strtok)
    get next token from string

_wcsupr (see strupr)
    convert string to uppercase

wcsxfrm (see strxfrm)
    transform string to locale's collating sequence

For related functions see the sections Conversion Functions (conversions to
and from strings), Time Functions (formatting of dates and times), and
Memory Manipulation Functions (operate on arrays without terminating null
character).

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson