WCTYPE man page on BSDi

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDi logo
[printable version]

WCTYPE(3)		    BSD Programmer's Manual		     WCTYPE(3)

NAME
     iswalnum, iswalpha, iswcntrl, iswctype, iswdigit, iswgraph, iswlower,
     iswprint, iswpunct, iswspace, iswupper, iswxdigit, towlower, towupper,
     wctype, wcwidth - wide-character classification macros

SYNOPSIS
     #include <wchar.h>

     int
     iswalnum(wint_t wc);

     int
     iswalpha(wint_t wc);

     int
     iswcntrl(wint_t wc);

     int
     iswctype(wint_t wc, wctype_t charclass);

     int
     iswdigit(wint_t wc);

     int
     iswgraph(wint_t wc);

     int
     iswlower(wint_t wc);

     int
     iswprint(wint_t wc);

     int
     iswpunct(wint_t wc);

     int
     iswspace(wint_t wc);

     int
     iswupper(wint_t wc);

     int
     iswxdigit(wint_t wc);

     wint_t
     towlower(wint_t wc);

     wint_t
     towupper(wint_t wc);

     wctype_t
     wctype(char *charclass);

     int
     wcwidth(wint_t wc);

DESCRIPTION
     The wctype routine returns an numeric value representing the character
     class charclass. A value of 0 is returned for unknown classes.  The pos-
     sible classes are:

	   "alpha", "blank", "cntrl", "digit", "graph", "ideogram", "lower",
	   "phonogram", "print", "punct", "space", "special", "upper",
	   "xdigit"

     The iswctype routine tests wc to see if it is in the character class
     charclass (as returned by wctype). It returns a non 0 value if wc is in
     the character class, 0 if not.

     The wcwidth routine is identical to the scrwidth(3) routine.

     The rest of these routines are identical to the standard ctype(3) rou-
     tines of the same name with the first `w' removed (e.g., iswalnum is
     identical to isalnum). The standard ctype(3) routines provided in the C
     library are already capable of dealing with wide characters.

SEE ALSO
     ctype(3)

BSDI BSD/OS		       December 8, 1997				     2
[top]

List of man pages available for BSDi

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net