The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

wctype (3)
  • wctype (3) ( Solaris man: Библиотечные вызовы )
  • >> wctype (3) ( FreeBSD man: Библиотечные вызовы )
  • wctype (3) ( Русские man: Библиотечные вызовы )
  • wctype (3) ( Linux man: Библиотечные вызовы )
  • wctype (3) ( POSIX man: Библиотечные вызовы )

  • BSD mandoc
     

    NAME

    
    
    iswctype , wctype
    
     - wide character class functions
    
     
    

    LIBRARY

    Lb libc
    
     
    

    SYNOPSIS

       #include <wctype.h>
    int iswctype (wint_t wc wctype_t charclass);
    wctype_t wctype (const char *property);
     

    DESCRIPTION

    The wctype ();
    function returns a value of type Vt wctype_t which represents the requested wide character class and may be used as the second argument for calls to iswctype (.);

    The following character class names are recognised:

    alnum cntrl   ideogram        print   space   xdigit
    alpha       digit   lower   punct   special
    blankgraphphonogramruneupper

    The
    iswctype ();
    function checks whether the wide character Fa wc is in the character class Fa charclass .  

    RETURN VALUES

    The iswctype ();
    function returns non-zero if and only if Fa wc has the property described by Fa charclass , or Fa charclass is zero.

    The wctype ();
    function returns 0 if Fa property is invalid, otherwise it returns a value of type Vt wctype_t that can be used in subsequent calls to iswctype (.);
     

    EXAMPLES

    Reimplement iswalpha(3) in terms of iswctype ();
    and wctype (:);
    int
    myiswalpha(wint_t wc)
    {
            return (iswctype(wc, wctype("alpha")));
    }
    
     

    SEE ALSO

    ctype(3), nextwctype(3)  

    STANDARDS

    The iswctype ();
    and wctype ();
    functions conform to St -p1003.1-2001 . The ``ideogram '' ``phonogram '' ``special '' and ``rune '' character classes are extensions.  

    HISTORY

    The iswctype ();
    and wctype ();
    functions first appeared in Fx 5.0 .


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    EXAMPLES
    SEE ALSO
    STANDARDS
    HISTORY


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру