Back to index

glibc  2.9
Defines
param.h File Reference
#include <limits.h>
#include <sys/types.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define NBBY   CHAR_BIT
#define NGROUPS   NGROUPS_MAX
#define MAXSYMLINKS   5
#define CANBSIZ   MAX_CANON
#define NCARGS   ARG_MAX
#define MAXPATHLEN   PATH_MAX
#define NOFILE   OPEN_MAX
#define setbit(a, i)   ((a)[(i)/NBBY] |= 1<<((i)%NBBY))
#define clrbit(a, i)   ((a)[(i)/NBBY] &= ~(1<<((i)%NBBY)))
#define isset(a, i)   ((a)[(i)/NBBY] & (1<<((i)%NBBY)))
#define isclr(a, i)   (((a)[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
#define howmany(x, y)   (((x)+((y)-1))/(y))
#define roundup(x, y)   ((((x)+((y)-1))/(y))*(y))
#define powerof2(x)   ((((x)-1)&(x))==0)
#define MIN(a, b)   (((a)<(b))?(a):(b))
#define MAX(a, b)   (((a)>(b))?(a):(b))
#define DEV_BSIZE   512

Define Documentation

#define CANBSIZ   MAX_CANON

Definition at line 31 of file param.h.

#define clrbit (   a,
  i 
)    ((a)[(i)/NBBY] &= ~(1<<((i)%NBBY)))

Definition at line 41 of file param.h.

#define DEV_BSIZE   512

Definition at line 57 of file param.h.

#define howmany (   x,
  y 
)    (((x)+((y)-1))/(y))

Definition at line 47 of file param.h.

#define isclr (   a,
  i 
)    (((a)[(i)/NBBY] & (1<<((i)%NBBY))) == 0)

Definition at line 43 of file param.h.

#define isset (   a,
  i 
)    ((a)[(i)/NBBY] & (1<<((i)%NBBY)))

Definition at line 42 of file param.h.

#define MAX (   a,
  b 
)    (((a)>(b))?(a):(b))

Definition at line 54 of file param.h.

#define MAXPATHLEN   PATH_MAX

Definition at line 33 of file param.h.

#define MAXSYMLINKS   5

Definition at line 30 of file param.h.

#define MIN (   a,
  b 
)    (((a)<(b))?(a):(b))

Definition at line 53 of file param.h.

#define NBBY   CHAR_BIT

Definition at line 26 of file param.h.

#define NCARGS   ARG_MAX

Definition at line 32 of file param.h.

#define NGROUPS   NGROUPS_MAX

Definition at line 28 of file param.h.

#define NOFILE   OPEN_MAX

Definition at line 34 of file param.h.

#define powerof2 (   x)    ((((x)-1)&(x))==0)

Definition at line 50 of file param.h.

#define roundup (   x,
  y 
)    ((((x)+((y)-1))/(y))*(y))

Definition at line 49 of file param.h.

#define setbit (   a,
  i 
)    ((a)[(i)/NBBY] |= 1<<((i)%NBBY))

Definition at line 40 of file param.h.