Subversion Repositories HelenOS

Rev

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

Rev 3343 Rev 3742
Line 43... Line 43...
43
#define isalpha(c)  (is_lower((c)) || is_upper((c)))
43
#define isalpha(c)  (is_lower((c)) || is_upper((c)))
44
#define isalphanum(c)   (is_alpha((c)) || is_digit((c)))
44
#define isalphanum(c)   (is_alpha((c)) || is_digit((c)))
45
#define isspace(c)  (((c) == ' ') || ((c) == '\t') || ((c) == '\n') || \
45
#define isspace(c)  (((c) == ' ') || ((c) == '\t') || ((c) == '\n') || \
46
                ((c) == '\r'))
46
                ((c) == '\r'))
47
 
47
 
48
#define min(a,b)    ((a) < (b) ? (a) : (b))
48
#define min(a, b)   ((a) < (b) ? (a) : (b))
49
#define max(a,b)    ((a) > (b) ? (a) : (b))
49
#define max(a, b)   ((a) > (b) ? (a) : (b))
50
 
50
 
51
/** Return true if the intervals overlap.
51
/** Return true if the intervals overlap.
52
 *
52
 *
53
 * @param s1        Start address of the first interval.
53
 * @param s1        Start address of the first interval.
54
 * @param sz1       Size of the first interval.
54
 * @param sz1       Size of the first interval.