Dynalib Utils
Macros | Typedefs
standard.h File Reference
#include <stdio.h>
#include <stddef.h>
Include dependency graph for standard.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define STDIO
 
#define STDDEF
 
#define UB8MAXVAL   0xffffffffffffffffLL
 
#define UB8BITS   64
 
#define SB8MAXVAL   0x7fffffffffffffffLL
 
#define UB4MAXVAL   0xffffffff
 
#define UB4BITS   32
 
#define SB4MAXVAL   0x7fffffff
 
#define UB2MAXVAL   0xffff
 
#define UB2BITS   16
 
#define SB2MAXVAL   0x7fff
 
#define UB1MAXVAL   0xff
 
#define UB1BITS   8
 
#define SB1MAXVAL   0x7f
 
#define bis(target, mask)   ((target) |= (mask))
 
#define bic(target, mask)   ((target) &= ~(mask))
 
#define bit(target, mask)   ((target) & (mask))
 
#define TRUE   1
 
#define FALSE   0
 
#define SUCCESS   0 /* 1 on VAX */
 

Typedefs

typedef unsigned long long ub8
 
typedef signed long long sb8
 
typedef unsigned long int ub4
 
typedef signed long int sb4
 
typedef unsigned short int ub2
 
typedef signed short int sb2
 
typedef unsigned char ub1
 
typedef signed char sb1
 
typedef int word
 

Macro Definition Documentation

◆ bic

#define bic (   target,
  mask 
)    ((target) &= ~(mask))

◆ bis

#define bis (   target,
  mask 
)    ((target) |= (mask))

◆ bit

#define bit (   target,
  mask 
)    ((target) & (mask))

◆ FALSE

#define FALSE   0

◆ SB1MAXVAL

#define SB1MAXVAL   0x7f

◆ SB2MAXVAL

#define SB2MAXVAL   0x7fff

◆ SB4MAXVAL

#define SB4MAXVAL   0x7fffffff

◆ SB8MAXVAL

#define SB8MAXVAL   0x7fffffffffffffffLL

◆ STDDEF

#define STDDEF

◆ STDIO

#define STDIO

◆ SUCCESS

#define SUCCESS   0 /* 1 on VAX */

◆ TRUE

#define TRUE   1

◆ UB1BITS

#define UB1BITS   8

◆ UB1MAXVAL

#define UB1MAXVAL   0xff

◆ UB2BITS

#define UB2BITS   16

◆ UB2MAXVAL

#define UB2MAXVAL   0xffff

◆ UB4BITS

#define UB4BITS   32

◆ UB4MAXVAL

#define UB4MAXVAL   0xffffffff

◆ UB8BITS

#define UB8BITS   64

◆ UB8MAXVAL

#define UB8MAXVAL   0xffffffffffffffffLL

Typedef Documentation

◆ sb1

typedef signed char sb1

◆ sb2

typedef signed short int sb2

◆ sb4

typedef signed long int sb4

◆ sb8

typedef signed long long sb8

◆ ub1

typedef unsigned char ub1

◆ ub2

typedef unsigned short int ub2

◆ ub4

typedef unsigned long int ub4

◆ ub8

typedef unsigned long long ub8

◆ word

typedef int word