Changeset a35fc17 in mainline for uspace/lib/posix/ctype.c


Ignore:
Timestamp:
2011-07-03T13:26:57Z (14 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:
4f86fa3
Parents:
a6d908c1
Message:

Add obsolete functions to ctype.h

File:
1 edited

Legend:

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

    ra6d908c1 ra35fc17  
    108108}
    109109
     110/**
     111 * Checks whether character is ASCII. (obsolete)
     112 *
     113 * @param c
     114 * @return
     115 */
     116extern int posix_isascii(int c)
     117{
     118        return c >= 0 && c < 128;
     119}
     120
     121/**
     122 * Converts argument to a 7-bit ASCII character. (obsolete)
     123 *
     124 * @param c
     125 * @return
     126 */
     127extern int posix_toascii(int c)
     128{
     129        return c & 0x7F;
     130}
     131
    110132/** @}
    111133 */
Note: See TracChangeset for help on using the changeset viewer.