Back to index

lightning-sunbird  0.9+nobinonly
Defines
compat.h File Reference

Go to the source code of this file.

Defines

#define SIZE_T_MAX   UINT_MAX
#define index(a, b)   strchr(a, b)
#define rindex(a, b)   strrchr(a, b)
#define bzero(a, b)   memset(a, 0, b)
#define bcmp(a, b, n)   memcmp(a, b, n)
#define bcopy(a, b, n)   memmove(b, a, n)
#define _POSIX2_RE_DUP_MAX   255
#define MAX(_a, _b)   ((_a)<(_b)?(_b):(_a))
#define MIN(_a, _b)   ((_a)<(_b)?(_a):(_b))

Define Documentation

Definition at line 56 of file compat.h.

#define bcmp (   a,
  b,
  n 
)    memcmp(a, b, n)

Definition at line 51 of file compat.h.

#define bcopy (   a,
  b,
  n 
)    memmove(b, a, n)

Definition at line 52 of file compat.h.

#define bzero (   a,
  b 
)    memset(a, 0, b)

Definition at line 50 of file compat.h.

#define index (   a,
  b 
)    strchr(a, b)

Definition at line 48 of file compat.h.

#define MAX (   _a,
  _b 
)    ((_a)<(_b)?(_b):(_a))

Definition at line 60 of file compat.h.

#define MIN (   _a,
  _b 
)    ((_a)<(_b)?(_a):(_b))

Definition at line 63 of file compat.h.

#define rindex (   a,
  b 
)    strrchr(a, b)

Definition at line 49 of file compat.h.

#define SIZE_T_MAX   UINT_MAX

Definition at line 45 of file compat.h.