iswalpha man page on Solaris

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

iswalpha(3C)		 Standard C Library Functions		  iswalpha(3C)

NAME
       iswalpha,  isenglish,  isideogram,  isnumber,  isphonogram,  isspecial,
       iswalnum, iswascii, iswblank, iswcntrl, iswdigit,  iswgraph,  iswlower,
       iswprint, iswpunct, iswspace, iswupper, iswxdigit - wide-character code
       classification functions

SYNOPSIS
       #include <wchar.h>
       #include <wctype.h>

       int iswalpha(wint_t wc);

       int isenglish(wint_t wc);

       int isideogram(wint_t wc);

       int isnumber(wint_t wc);

       int isphonogram(wint_t wc);

       int isspecial(wint_t wc);

       int iswalnum(wint_t wc);

       int iswascii(wint_t wc);

       int iswblank(wint_t wc);

       int iswcntrl(wint_t wc);

       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);

DESCRIPTION
       These functions test whether wc is a wide-character code representing a
       character of a particular class defined in the LC_CTYPE category of the
       current locale.

       In all cases, wc is a wint_t, the value of which must be a wide-charac‐
       ter  code  corresponding	 to a valid character in the current locale or
       must equal the value of the macro WEOF. If the argument has  any	 other
       values, the behavior is undefined.

       iswalpha(wc)	       Tests  whether wc is a wide-character code rep‐
			       resenting a character of class "alpha"  in  the
			       program's current locale.

       isenglish(wc)	       Tests  whether wc is a wide-character code rep‐
			       resenting  an   English	 language   character,
			       excluding ASCII characters.

       isideogram(wc)	       Tests  whether wc is a wide-character code rep‐
			       resenting an  ideographic  language  character,
			       excluding ASCII characters.

       isnumber(wc)	       Tests  whether wc is a wide-character code rep‐
			       resenting digit [0−9], excluding ASCII  charac‐
			       ters.

       isphonogram(wc)	       Tests  whether wc is a wide-character code rep‐
			       resenting  a   phonetic	 language   character,
			       excluding ASCII characters.

       isspecial(wc)	       Tests  whether wc is a wide-character code rep‐
			       resenting a special language character, exclud‐
			       ing ASCII characters.

       iswalnum(wc)	       Tests  whether wc is a wide-character code rep‐
			       resenting  a  character	of  class  "alpha"  or
			       "digit" in the program's current locale.

       iswascii(wc)	       Tests  whether wc is a wide-character code rep‐
			       resenting an ASCII character.

       iswblank(wc)	       Tests whether wc is a wide-character code  rep‐
			       resenting  a  character of class "blank" in the
			       program's current locale. This function is  not
			       available  to  applications conforming to stan‐
			       dards prior to SUSv3. See standards(5).

       iswlower(wc)	       Tests whether wc is a wide-character code  rep‐
			       resenting  a  character of class "lower" in the
			       program's current locale.

       iswcntrl(wc)	       Tests whether wc is a wide-character code  rep‐
			       resenting  a  character of class "cntrl" in the
			       program's current locale.

       iswdigit(wc)	       Tests whether wc is a wide-character code  rep‐
			       resenting  a  character of class "digit" in the
			       program's current locale.

       iswgraph(wc)	       Tests whether wc is a wide-character code  rep‐
			       resenting  a  character of class "graph" in the
			       program's current locale.

       iswprint(wc)	       Tests whether wc is a wide-character code  rep‐
			       resenting  a  character of class "print" in the
			       program's current locale.

       iswpunct(wc)	       Tests whether wc is a wide-character code  rep‐
			       resenting  a  character of class "punct" in the
			       program's current locale.

       iswspace(wc)	       Tests whether wc is a wide-character code  rep‐
			       resenting  a  character of class "space" in the
			       program's current locale.

       iswupper(wc)	       Tests whether wc is a wide-character code  rep‐
			       resenting  a  character of class "upper" in the
			       program's current locale.

       iswxdigit(wc)	       Tests whether wc is a wide-character code  rep‐
			       resenting  a character of class "xdigit" in the
			       program's current locale.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │CSI			     │Enabled			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │See  below.		   │
       ├─────────────────────────────┼─────────────────────────────┤
       │MT-Level		     │MT-Safe with exceptions	   │
       └─────────────────────────────┴─────────────────────────────┘

       The iswalpha(), iswalnum(), iswblank(),	iswcntrl(),  iswdigit(),  isw‐
       graph(),	 iswlower(),  iswprint(),  iswpunct(), iswspace(), iswupper(),
       and iswxdigit() functions are Standard.

SEE ALSO
       localedef(1), setlocale(3C), stdio(3C), ascii(5), attributes(5),	 stan‐
       dards(5)

SunOS 5.10			  19 Apr 2004			  iswalpha(3C)
[top]

List of man pages available for Solaris

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