Defines | |
| #define | max_c(a, b) ((a)>(b)?(a):(b)) |
| Returns the maximum of values a and b. | |
| #define | min_c(a, b) ((a)>(b)?(b):(a)) |
| Returns the minimum of the values a and b. | |
| #define | NULL (0) |
Defines the constant NULL if it hasn't been defined anywhere before. | |
| #define | FALSE 0 |
Obsolete. Use false. | |
| #define | TRUE 1 |
Obsolete. Use true. | |
Typedefs | |
Descriptive Type Formats | |
| typedef int64 | bigtime_t |
| Represents time. The unit depends on the context of the function. | |
| typedef uint32 | perform_code |
| Unused. Defined by Be to support 'hidden' commands or extensions to classes. The Haiku API has none of these. | |
| typedef int32 | status_t |
| Represents one of the status codes defined in Error.h. | |
| typedef uint32 | type_code |
| Represents a certain type of data. See TypeConstants.h for possible values. | |
Short 2-byte long Type Formats | |
| typedef short | int16 |
| typedef unsigned short | uint16 |
| typedef volatile short | vint16 |
|
typedef volatile unsigned short | vuint16 |
Short 4-byte long Type Formats | |
| typedef long | int32 |
| typedef unsigned long | uint32 |
| typedef volatile long | vint32 |
| typedef volatile unsigned long | vuint32 |
Short 8-byte long Type Formats | |
| typedef long long | int64 |
| typedef unsigned long long | uint64 |
| typedef volatile long long | vint64 |
|
typedef volatile unsigned long long | vuint64 |
Short byte long Type Formats | |
| typedef signed char | int8 |
| typedef unsigned char | uint8 |
| typedef volatile signed char | vint8 |
| typedef volatile unsigned char | vuint8 |
Character Type Formats | |
| typedef unsigned char | uchar |
| typedef unsigned short | unichar |
Short volatile Type Formats | |
| typedef volatile char | vchar |
| typedef volatile int | vint |
| typedef volatile long | vlong |
| typedef volatile short | vshort |
| typedef volatile unsigned char | vuchar |
| typedef volatile unsigned int | vuint |
| typedef volatile unsigned long | vulong |
|
typedef volatile unsigned short | vushort |
Functions | |
| int32 | atomic_add (vint32 *value, int32 addValue) |
| Undocumented. | |
| int64 | atomic_add64 (vint64 *value, int64 addValue) |
| Undocumented. | |
| int32 | atomic_and (vint32 *value, int32 andValue) |
| Undocumented. | |
| int64 | atomic_and64 (vint64 *value, int64 andValue) |
| Undocumented. | |
| int32 | atomic_get (vint32 *value) |
| Undocumented. | |
| int64 | atomic_get64 (vint64 *value) |
| Undocumented. | |
| int32 | atomic_or (vint32 *value, int32 orValue) |
| Undocumented. | |
| int64 | atomic_or64 (vint64 *value, int64 orValue) |
| Undocumented. | |
| int32 | atomic_set (vint32 *value, int32 newValue) |
| Undocumented. | |
| int64 | atomic_set64 (vint64 *value, int64 newValue) |
| Undocumented. | |
| int32 | atomic_test_and_set (vint32 *value, int32 newValue, int32 testAgainst) |
| Undocumented. | |
| int64 | atomic_test_and_set64 (vint64 *value, int64 newValue, int64 testAgainst) |
| Undocumented. | |
| void * | get_stack_frame (void) |
| This is internal, I guess. Else this needs to be documented. | |
Variables | |
| const char * | B_EMPTY_STRING |
| Defines an empty string. Currently defined as the C-string "". | |
| #define max_c | ( | a, | |||
| b | ) | ((a)>(b)?(a):(b)) |
Returns the maximum of values a and b.
max(a,b). | #define min_c | ( | a, | |||
| b | ) | ((a)>(b)?(b):(a)) |
Returns the minimum of the values a and b.
min(a,b).