ReactOS  0.4.15-dev-1377-ga59cecd
various.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __P(x)   x
 
#define UT_LINESIZE   8
 
#define UT_HOSTSIZE   16
 
#define MIN(a, b)   ((a) <= (b) ? (a) : (b))
 
#define MAX(a, b)   ((a) > (b) ? (a) : (b))
 
#define bcopy(s1, s2, n)   memmove(s2, s1, n)
 
#define bcmp(s1, s2, n)   (memcmp(s1, s2, n) != 0)
 
#define bzero(s, n)   memset(s, 0, n)
 
#define index(s, c)   strchr(s, c)
 
#define rindex(s, c)   strrchr(s, c)
 

Typedefs

typedef unsigned char u_char
 
typedef unsigned int u_int
 
typedef float f4byte_t
 
typedef double f8byte_t
 
typedef long uid_t
 

Macro Definition Documentation

◆ __P

#define __P (   x)    x

Definition at line 25 of file various.h.

◆ bcmp

#define bcmp (   s1,
  s2,
  n 
)    (memcmp(s1, s2, n) != 0)

Definition at line 42 of file various.h.

◆ bcopy

#define bcopy (   s1,
  s2,
  n 
)    memmove(s2, s1, n)

Definition at line 41 of file various.h.

◆ bzero

#define bzero (   s,
  n 
)    memset(s, 0, n)

Definition at line 43 of file various.h.

◆ index

#define index (   s,
  c 
)    strchr(s, c)

Definition at line 45 of file various.h.

◆ MAX

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

Definition at line 39 of file various.h.

◆ MIN

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

Definition at line 38 of file various.h.

◆ rindex

#define rindex (   s,
  c 
)    strrchr(s, c)

Definition at line 46 of file various.h.

◆ UT_HOSTSIZE

#define UT_HOSTSIZE   16

Definition at line 30 of file various.h.

◆ UT_LINESIZE

#define UT_LINESIZE   8

Definition at line 29 of file various.h.

Typedef Documentation

◆ f4byte_t

typedef float f4byte_t

Definition at line 10 of file various.h.

◆ f8byte_t

typedef double f8byte_t

Definition at line 11 of file various.h.

◆ u_char

typedef unsigned char u_char

Definition at line 8 of file various.h.

◆ u_int

typedef unsigned int u_int

Definition at line 9 of file various.h.

◆ uid_t

typedef long uid_t

Definition at line 23 of file various.h.