C additional additional ctype.h attack

 15 July 07:10   / Free Software Foundation, Inc.

     This book is allotment of the GNU C Library .

     The GNU C Library is chargeless software; you can redistribute it and/or

     adapt it beneath the agreement of the GNU Bottom Accepted Public

     Authorization as appear by the Chargeless Software Foundation; either

     adaptation 2.1 of the License, or (at your option) any after version.

     The GNU C Library is broadcast in the achievement that it will be useful,

     but After ANY WARRANTY; after even the adumbrated assurance of

     MERCHANTABILITY or Exercise FOR A Accurate PURPOSE. See the GNU

     Bottom Accepted Accessible Authorization for added details.

     You should accept accustomed a archetype of the GNU Bottom Accepted Public

     Authorization forth with the GNU C Library; if not, address to the Free

     Software Foundation, Inc., 59 Temple Place, Apartment 330, Boston, MA

     02111-1307 USA.

    /

    #ifndef _CTYPE_H

    #define _CTYPE_H 1

    #include

    #include

    __BEGIN_DECLS

    #ifndef _ISbit

    / If there get to be added than 16 audible characteristics,

     some things haveto be afflicted that use `unsigned abbreviate ints.

     The characteristics are stored consistently in arrangement byte adjustment (big

     endian). We ascertain the bit amount interpretations actuality abased on the

     machines byte order.

    # cover

    # if __BYTE_ORDER __LITTLE_ENDIAN # ascertain _ISbit(bit) ((bit) < 8 ? ((1 << (bit)) << 8) : ((1 << (bit)) >> 8))

    # endif

    enum

    extern __inline int

    __NTH (toupper (int __c))

    # endif

    # if __GNUC__ >= 2 && authentic __OPTIMIZE__ && !defined __cplusplus

    # ascertain tolower(c) __tobody (c, tolower, # ascertain toupper(c) __tobody (c, toupper, # endif /# if authentic __USE_SVID || authentic __USE_MISC || authentic __USE_XOPEN

    # ascertain isascii(c) __isascii (c)

    # ascertain toascii(c) __toascii (c)

    # ascertain _tolower(c) ((int) (# ascertain _toupper(c) ((int) (# endif

    #endif /

    #ifdef __USE_GNU

    / anticipation out. Some applications will charge to action its data using

     advice from several altered locales. Addition appliance is

     the accomplishing of the internationalization administration in the

     accessible ISO C++ accepted library. To abutment this addition set of

     the functions using area data is which accept an additional

     argument.

     Attention: all these functions are This is a proof-of-concept implementation.

    / (almost) blurred blazon for the user akin programs. # cover

    / yield as an altercation a handle for the area which shall be used. # ascertain __isctype_l(c, type, locale) ((locale)->__ctype_b[(int) (c)] & (unsigned abbreviate int) type)

    # ascertain __exctype_l(name) extern int name (int, __locale_t) __THROW

    / int isCHARACTERISTIC(int c, locale_t which acknowledgment nonzero iff C has CHARACTERISTIC.

     For the acceptation of the appropriate names, see the `enum above. __exctype_l (isalnum_l);

    __exctype_l (isalpha_l);

    __exctype_l (iscntrl_l);

    __exctype_l (isdigit_l);

    __exctype_l (islower_l);

    __exctype_l (isgraph_l);

    __exctype_l (isprint_l);

    __exctype_l (ispunct_l);

    __exctype_l (isspace_l);

    __exctype_l (isupper_l);

    __exctype_l (isxdigit_l);

    __exctype_l (isblank_l);

    /extern int tolower_l (int __c, __locale_t __l) __THROW;

    /extern int toupper_l (int __c, __locale_t __l) __THROW;

    # if __GNUC__ >= 2 && authentic __OPTIMIZE__ && !defined __cplusplus

    # ascertain __tolower_l(c, locale) __tobody (c, __tolower_l, (locale)->__ctype_tolower, (c, locale))

    # ascertain __toupper_l(c, locale) __tobody (c, __toupper_l, (locale)->__ctype_toupper, (c, locale))

    # ascertain tolower_l(c, locale) __tolower_l ((c), (locale))

    # ascertain toupper_l(c, locale) __toupper_l ((c), (locale))

    # endif /

    # ifndef __NO_CTYPE

    # ascertain __isalnum_l(c,l) __isctype_l((c), _ISalnum, (l))

    # ascertain __isalpha_l(c,l) __isctype_l((c), _ISalpha, (l))

    # ascertain __iscntrl_l(c,l) __isctype_l((c), _IScntrl, (l))

    # ascertain __isdigit_l(c,l) __isctype_l((c), _ISdigit, (l))

    # ascertain __islower_l(c,l) __isctype_l((c), _ISlower, (l))

    # ascertain __isgraph_l(c,l) __isctype_l((c), _ISgraph, (l))

    # ascertain __isprint_l(c,l) __isctype_l((c), _ISprint, (l))

    # ascertain __ispunct_l(c,l) __isctype_l((c), _ISpunct, (l))

    # ascertain __isspace_l(c,l) __isctype_l((c), _ISspace, (l))

    # ascertain __isupper_l(c,l) __isctype_l((c), _ISupper, (l))

    # ascertain __isxdigit_l(c,l) __isctype_l((c), _ISxdigit, (l))

    # ascertain __isblank_l(c,l) __isctype_l((c), _ISblank, (l))

    # if authentic __USE_SVID || authentic __USE_MISC || authentic __USE_XOPEN

    # ascertain __isascii_l(c,l) ((l), __isascii (c))

    # ascertain __toascii_l(c,l) ((l), __toascii (c))

    # endif

    # ascertain isalnum_l(c,l) __isalnum_l ((c), (l))

    # ascertain isalpha_l(c,l) __isalpha_l ((c), (l))

    # ascertain iscntrl_l(c,l) __iscntrl_l ((c), (l))

    # ascertain isdigit_l(c,l) __isdigit_l ((c), (l))

    # ascertain islower_l(c,l) __islower_l ((c), (l))

    # ascertain isgraph_l(c,l) __isgraph_l ((c), (l))

    # ascertain isprint_l(c,l) __isprint_l ((c), (l))

    # ascertain ispunct_l(c,l) __ispunct_l ((c), (l))

    # ascertain isspace_l(c,l) __isspace_l ((c), (l))

    # ascertain isupper_l(c,l) __isupper_l ((c), (l))

    # ascertain isxdigit_l(c,l) __isxdigit_l ((c), (l))

    # ascertain isblank_l(c,l) __isblank_l ((c), (l))

    # if authentic __USE_SVID || authentic __USE_MISC || authentic __USE_XOPEN

    # ascertain isascii_l(c,l) __isascii_l ((c), (l))

    # ascertain toascii_l(c,l) __toascii_l ((c), (l))

    # endif

    # endif /#endif /__END_DECLS

    #endif /

 


Tags: software, foundation, library, defined, license, public, general

 define, locale, exctype, isctype, defined, toupper, endif, tolower, ctype, isascii, toascii, isgraph, isprint, isalnum, isalpha, isdigit, iscntrl, ispunct, library, isxdigit, isblank, islower, isupper, isspace, tobody, software, license, throw, xopen, public, general, lesser, extern, foundation, ifndef, , defined use, free software, define tolower, define toupper, endif endif, define toascii, locale ctype, extern int, locale define, define isascii, xopen define, byte order, public license, lesser general, gnu lesser, software foundation, general public, xopen define isascii, lesser general public, general public license, free software foundation, gnu lesser general, locale define toupper, defined cplusplus define, plus plus ctype, cplusplus define tolower,

Share C additional additional ctype.h attack:
Digg it!   Google Bookmarks   Del.icio.us   Yahoo! MyWeb   Furl  Binklist   Reddit!   Stumble Upon   Technorati   Windows Live   Bookmark

Text link code :
Hyper link code:

Also see ...

Permalink
Article In : Computers & Technology  -  Programming