Changeset 0ffbed9 in mainline for uspace/lib/posix/ctype.c


Ignore:
Timestamp:
2011-06-19T17:49:29Z (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:
5974661
Parents:
f48b637 (diff), 32fb6944 (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.c

    rf48b637 r0ffbed9  
    11/*
    22 * Copyright (c) 2011 Jiri Zarevucky
     3 * Copyright (c) 2011 Petr Koupy
    34 * All rights reserved.
    45 *
     
    2728 */
    2829
     30/** @addtogroup libposix
     31 * @{
     32 */
     33/** @file
     34 */
     35
     36#define LIBPOSIX_INTERNAL
     37
    2938#include "ctype.h"
    3039
    31 int isxdigit(int ch)
     40/**
     41 *
     42 * @param ch
     43 * @return
     44 */
     45int posix_isxdigit(int ch)
    3246{
    3347        return isdigit(ch) ||
    34                (ch >= 'a' && ch <= 'f') ||
    35                (ch >= 'A' && ch <= 'F');
     48            (ch >= 'a' && ch <= 'f') ||
     49            (ch >= 'A' && ch <= 'F');
    3650}
    3751
     52/** @}
     53 */
Note: See TracChangeset for help on using the changeset viewer.