Ignore:
Timestamp:
2018-01-15T21:54:21Z (6 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:
8348846
Parents:
c718bda
Message:

Add missing standard functions to <ctype.h>

File:
1 edited

Legend:

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

    rc718bda rdbbbe75b  
    4343#include "libc/ctype.h"
    4444
    45 /* Classification of Characters */
    46 extern int __POSIX_DEF__(isxdigit)(int c);
    47 extern int __POSIX_DEF__(isblank)(int c);
    48 extern int __POSIX_DEF__(iscntrl)(int c);
    49 extern int __POSIX_DEF__(isgraph)(int c);
    50 extern int __POSIX_DEF__(isprint)(int c);
    51 extern int __POSIX_DEF__(ispunct)(int c);
     45/* Obsolete Functions and Macros */
     46extern int isascii(int c);
     47extern int toascii(int c);
    5248
    53 /* Obsolete Functions and Macros */
    54 extern int __POSIX_DEF__(isascii)(int c);
    55 extern int __POSIX_DEF__(toascii)(int c);
    56 #undef _tolower
    5749#define _tolower(c) ((c) - 'A' + 'a')
    58 #undef _toupper
    5950#define _toupper(c) ((c) - 'a' + 'A')
    60 
    61 
    6251
    6352#endif /* POSIX_CTYPE_H_ */
Note: See TracChangeset for help on using the changeset viewer.