Rev 4921 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4349 | Serge | 1 | /* This is a dummy |
2 | particular system. If there is a param.h in libc/sys/SYSDIR/sys, |
||
3 | it will override this one. */ |
||
4 | |||
5 | #ifndef _SYS_PARAM_H |
||
6 | # define _SYS_PARAM_H |
||
7 | |||
8 | #include |
||
4921 | Serge | 9 | #include |
4349 | Serge | 10 | #include |
11 | #include |
||
12 | |||
6099 | serge | 13 | #ifndef NBBY |
14 | # define NBBY 8 /* number of bits in a byte */ |
||
15 | #endif |
||
4349 | Serge | 16 | #ifndef HZ |
17 | # define HZ (60) |
||
18 | #endif |
||
19 | #ifndef NOFILE |
||
20 | # define NOFILE (60) |
||
21 | #endif |
||
22 | #ifndef PATHSIZE |
||
23 | # define PATHSIZE (1024) |
||
24 | #endif |
||
25 | |||
4921 | Serge | 26 | #define MAXPATHLEN PATH_MAX |
27 | |||
4349 | Serge | 28 | #define MAX(a,b) ((a) > (b) ? (a) : (b)) |
29 | #define MIN(a,b) ((a) < (b) ? (a) : (b)) |
||
30 | |||
6099 | serge | 31 | #ifndef howmany |
32 | #define howmany(x, y) (((x)+((y)-1))/(y)) |
||
4349 | Serge | 33 | #endif |
6099 | serge | 34 | |
35 | #endif> |