Changeset 8cd8bf6 in mainline for uspace/lib/posix/ctype.c


Ignore:
Timestamp:
2011-07-08T17:25:53Z (13 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
11809eab
Parents:
f5b2522 (diff), ddc63fd (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 changes.

File:
1 edited

Legend:

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

    rf5b2522 r8cd8bf6  
    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.