Last change
on this file since 462 was 352, checked in by coas-nagasima, 6 years ago |
arm向けASP3版ECNLを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-chdr;charset=UTF-8
|
File size:
755 bytes
|
Rev | Line | |
---|
[352] | 1 | #ifndef _SYS_PARAM_H
|
---|
| 2 | #define _SYS_PARAM_H
|
---|
| 3 |
|
---|
| 4 | #define MAXSYMLINKS 20
|
---|
| 5 | #define MAXHOSTNAMELEN 64
|
---|
| 6 | #define MAXNAMLEN 255
|
---|
| 7 | #define MAXPATHLEN 4096
|
---|
| 8 | #define NBBY 8
|
---|
| 9 | #define NGROUPS 32
|
---|
| 10 | #define CANBSIZ 255
|
---|
| 11 | #define NOFILE 256
|
---|
| 12 | #define NCARGS 131072
|
---|
| 13 | #define DEV_BSIZE 512
|
---|
| 14 | #define NOGROUP (-1)
|
---|
| 15 |
|
---|
| 16 | #undef MIN
|
---|
| 17 | #undef MAX
|
---|
| 18 | #define MIN(a,b) (((a)<(b))?(a):(b))
|
---|
| 19 | #define MAX(a,b) (((a)>(b))?(a):(b))
|
---|
| 20 |
|
---|
| 21 | #define __bitop(x,i,o) ((x)[(i)/8] o (1<<(i)%8))
|
---|
| 22 | #define setbit(x,i) __bitop(x,i,|=)
|
---|
| 23 | #define clrbit(x,i) __bitop(x,i,&=~)
|
---|
| 24 | #define isset(x,i) __bitop(x,i,&)
|
---|
| 25 | #define isclr(x,i) !isset(x,i)
|
---|
| 26 |
|
---|
| 27 | #define howmany(n,d) (((n)+((d)-1))/(d))
|
---|
| 28 | #define roundup(n,d) (howmany(n,d)*(d))
|
---|
| 29 | #define powerof2(n) !(((n)-1) & (n))
|
---|
| 30 |
|
---|
| 31 | #include <sys/resource.h>
|
---|
| 32 | #include <endian.h>
|
---|
| 33 | #include <limits.h>
|
---|
| 34 |
|
---|
| 35 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.