Changeset e4f8c77 in mainline for uspace/lib/posix/ctype.h


Ignore:
Timestamp:
2011-07-13T22:39:18Z (13 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e6910c8
Parents:
5974661 (diff), 8ecef91 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge libposix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/ctype.h

    r5974661 re4f8c77  
    4040
    4141/* Classification of Characters */
    42 extern int posix_isxdigit(int ch);
     42extern int posix_isxdigit(int c);
     43extern int posix_isblank(int c);
     44extern int posix_iscntrl(int c);
     45extern int posix_isgraph(int c);
     46extern int posix_isprint(int c);
     47extern int posix_ispunct(int c);
     48
     49/* Obsolete Functions and Macros */
     50extern int posix_isascii(int c);
     51extern int posix_toascii(int c);
     52#undef _tolower
     53#define _tolower(c) ((c) - 'A' + 'a')
     54#undef _toupper
     55#define _toupper(c) ((c) - 'a' + 'A')
     56
    4357
    4458#ifndef LIBPOSIX_INTERNAL
    4559        #define isxdigit posix_isxdigit
     60        #define isblank posix_isblank
     61        #define iscntrl posix_iscntrl
     62        #define isgraph posix_isgraph
     63        #define isprint posix_isprint
     64        #define ispunct posix_ispunct
     65       
     66        #define isascii posix_isascii
     67        #define toascii posix_toascii
    4668#endif
    4769
Note: See TracChangeset for help on using the changeset viewer.