Back to index

glibc  2.9
Defines
param.h File Reference
#include <features.h>
#include <stddef.h>
#include <sys/types.h>
#include <errno.h>
#include <signal.h>
#include <endian.h>
#include <limits.h>

Go to the source code of this file.

Defines

#define __need_NULL
#define BSD   199306 /* System version (year & month). */
#define BSD4_3   1
#define BSD4_4   1
#define GNU   1994100 /* GNU version (year, month, and release). */
#define NBBY   CHAR_BIT
#define NGROUPS   NGROUPS_MAX
#define MAXSYMLINKS   SYMLOOP_MAX
#define CANBSIZ   MAX_CANON /* XXX ? */
#define NCARGS   INT_MAX
#define NMOUNT   INT_MAX
#define NOGROUP   65535 /* Marker for empty group set member. */
#define NODEV   ((dev_t) -1) /* Non-existent device. */
#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 FSHIFT   11 /* Bits to right of fixed binary point. */
#define FSCALE   (1<<FSHIFT)

Define Documentation

#define __need_NULL

Definition at line 61 of file param.h.

#define BSD   199306 /* System version (year & month). */

Definition at line 75 of file param.h.

#define BSD4_3   1

Definition at line 76 of file param.h.

#define BSD4_4   1

Definition at line 77 of file param.h.

#define CANBSIZ   MAX_CANON /* XXX ? */

Definition at line 88 of file param.h.

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

Definition at line 106 of file param.h.

#define FSCALE   (1<<FSHIFT)

Definition at line 130 of file param.h.

#define FSHIFT   11 /* Bits to right of fixed binary point. */

Definition at line 129 of file param.h.

#define GNU   1994100 /* GNU version (year, month, and release). */

Definition at line 79 of file param.h.

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

Definition at line 112 of file param.h.

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

Definition at line 108 of file param.h.

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

Definition at line 107 of file param.h.

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

Definition at line 119 of file param.h.

#define MAXSYMLINKS   SYMLOOP_MAX

Definition at line 87 of file param.h.

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

Definition at line 118 of file param.h.

#define NBBY   CHAR_BIT

Definition at line 85 of file param.h.

#define NCARGS   INT_MAX

Definition at line 92 of file param.h.

#define NGROUPS   NGROUPS_MAX

Definition at line 86 of file param.h.

#define NMOUNT   INT_MAX

Definition at line 96 of file param.h.

#define NODEV   ((dev_t) -1) /* Non-existent device. */

Definition at line 101 of file param.h.

#define NOGROUP   65535 /* Marker for empty group set member. */

Definition at line 100 of file param.h.

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

Definition at line 115 of file param.h.

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

Definition at line 114 of file param.h.

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

Definition at line 105 of file param.h.