Subversion Repositories HelenOS

Rev

Rev 2479 | Rev 2525 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2479 Rev 2524
Line 33... Line 33...
33
 */
33
 */
34
 
34
 
35
#ifndef LIBC_CTYPE_H_
35
#ifndef LIBC_CTYPE_H_
36
#define LIBC_CTYPE_H_
36
#define LIBC_CTYPE_H_
37
 
37
 
-
 
38
static inline int isalpha(int c)
-
 
39
{
-
 
40
    return (((c >= 'a') && (c <= 'z')) || ((c >= 'A') && (c <= 'Z')));
-
 
41
}
-
 
42
 
38
static inline int isdigit(int c)
43
static inline int isdigit(int c)
39
{
44
{
40
    return ((c >= '0' )&&( c <= '9'));
45
    return ((c >= '0') && (c <= '9'));
41
}
46
}
42
 
47
 
43
static inline int isspace(int c)
48
static inline int isspace(int c)
44
{
49
{
45
    switch(c) {
50
    switch(c) {