Back to index

glibc  2.9
Defines
param.h File Reference
#include <limits.h>
#include <linux/limits.h>
#include <linux/param.h>
#include <sys/types.h>

Go to the source code of this file.

Defines

#define __undef_ARG_MAX
#define NBBY   CHAR_BIT
#define NGROUPS   NGROUPS_MAX
#define MAXSYMLINKS   20
#define CANBSIZ   MAX_CANON
#define MAXPATHLEN   PATH_MAX
#define NOFILE   256
#define NCARGS   131072
#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 __undef_ARG_MAX

Definition at line 23 of file param.h.

#define CANBSIZ   MAX_CANON

Definition at line 43 of file param.h.

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

Definition at line 56 of file param.h.

#define DEV_BSIZE   512

Definition at line 79 of file param.h.

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

Definition at line 62 of file param.h.

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

Definition at line 58 of file param.h.

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

Definition at line 57 of file param.h.

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

Definition at line 75 of file param.h.

#define MAXPATHLEN   PATH_MAX

Definition at line 44 of file param.h.

#define MAXSYMLINKS   20

Definition at line 42 of file param.h.

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

Definition at line 74 of file param.h.

#define NBBY   CHAR_BIT

Definition at line 38 of file param.h.

#define NCARGS   131072

Definition at line 49 of file param.h.

#define NGROUPS   NGROUPS_MAX

Definition at line 40 of file param.h.

#define NOFILE   256

Definition at line 48 of file param.h.

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

Definition at line 71 of file param.h.

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

Definition at line 69 of file param.h.

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

Definition at line 55 of file param.h.