|
ZEDA
1.6.18
|
base definitions. More...
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>#include <zeda/zeda_compat.h>

Go to the source code of this file.
Macros | |
| #define | __BEGIN_DECLS |
| #define | __END_DECLS |
| #define | BUFSIZ 512 |
| default buffer size. More... | |
| #define | INT_BIT ( sizeof(int) << 3 ) |
| #define | INT_MAX ( ( ( ( 1 << ( ( INT_BIT >> 1 ) - 1 ) ) - 1 ) << ( INT_BIT >> 1 ) ) | ( ( 1 << ( INT_BIT >> 1 ) ) - 1 ) ) |
| #define | UINT_MAX ( (uint)( ( ( ( 1 << ( INT_BIT >> 1 ) ) - 1 ) << ( INT_BIT >> 1 ) ) | ( ( 1 << ( INT_BIT >> 1 ) ) - 1 ) ) ) |
| #define | zBoolStr(b) ( (b) ? "true" : "false" ) |
Typedefs | |
| typedef unsigned char | uint8_t |
| typedef unsigned short int | uint16_t |
| typedef unsigned int | uint32_t |
| typedef unsigned long long int | uint64_t |
| typedef signed char | int8_t |
| typedef short int | int16_t |
| typedef int | int32_t |
| typedef long long int | int64_t |
| typedef int8_t | byte |
| typedef int16_t | word |
| typedef int32_t | dword |
| typedef uint8_t | ubyte |
| typedef uint16_t | uword |
| typedef uint32_t | udword |
| typedef unsigned int | uint |
| typedef unsigned long | ulong |
| typedef ubyte | bool |
| boolean type (for Language C). More... | |
Enumerations | |
| enum | { false = 0, true = 1 } |
base definitions.
| #define __BEGIN_DECLS |
| #define __END_DECLS |
| #define BUFSIZ 512 |
default buffer size.
BUFSIZ is defined in the standard C library. This macro is validated in non-standard C environments rather as a moderate value.
| #define INT_BIT ( sizeof(int) << 3 ) |
| #define INT_MAX ( ( ( ( 1 << ( ( INT_BIT >> 1 ) - 1 ) ) - 1 ) << ( INT_BIT >> 1 ) ) | ( ( 1 << ( INT_BIT >> 1 ) ) - 1 ) ) |
| #define UINT_MAX ( (uint)( ( ( ( 1 << ( INT_BIT >> 1 ) ) - 1 ) << ( INT_BIT >> 1 ) ) | ( ( 1 << ( INT_BIT >> 1 ) ) - 1 ) ) ) |
| #define zBoolStr | ( | b | ) | ( (b) ? "true" : "false" ) |
convert a boolean value to a string.
| typedef unsigned char uint8_t |
8-bit unsigned integer
| typedef unsigned short int uint16_t |
16-bit unsigned integer
| typedef unsigned int uint32_t |
32-bit unsigned integer
| typedef unsigned long long int uint64_t |
64-bit unsigned integer
| typedef signed char int8_t |
8-bit signed integer
| typedef short int int16_t |
16-bit signed integer
| typedef int int32_t |
32-bit signed integer
| typedef long long int int64_t |
64-bit signed integer
| typedef unsigned int uint |
unsigned integer.
| typedef unsigned long ulong |
unsigned long integer.
1.8.13