Changeset 672a24d in mainline for libc/include/ctype.h


Ignore:
Timestamp:
2006-05-13T16:34:08Z (19 years ago)
Author:
Josef Cejka <malyzelenyhnus@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c0535f80
Parents:
7981e3cc
Message:

Added limits.h with max and min values for integer types.
Added a few string functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/include/ctype.h

    r7981e3cc r672a24d  
    3535}
    3636
     37static inline int isspace(int c)
     38{
     39        switch(c) {
     40                case ' ':
     41                case '\n':
     42                case '\t':
     43                case '\f':
     44                case '\r':
     45                case '\v':
     46                        return 1;
     47                        break;
     48                default:
     49                        return 0;
     50        }
     51}
     52
    3753#endif
    3854
Note: See TracChangeset for help on using the changeset viewer.