version 1.25.2.3, 2012/09/10 12:03:55
|
version 1.25.2.5, 2012/09/17 13:44:21
|
Line 401 typedef union {
|
Line 401 typedef union {
|
#define IO_SOCKADDR_INIT { .ss = { 0 } } |
#define IO_SOCKADDR_INIT { .ss = { 0 } } |
|
|
|
|
#define io_align(x, a) (((x) + (a)) & ~(a)) | #define io_align(x, a) (((x) + ((a) - 1)) & ~((a) - 1)) |
|
|
|
|
// io_GetErrno() Get error code of last operation |
// io_GetErrno() Get error code of last operation |
Line 570 inline int io_setlikeVar(ait_val_t * __restrict v, ait
|
Line 570 inline int io_setlikeVar(ait_val_t * __restrict v, ait
|
* return: -1 error or >0 copied bytes to variable |
* return: -1 error or >0 copied bytes to variable |
*/ |
*/ |
int io_sprintfVar(ait_val_t * __restrict v, const char *fmt, ...); |
int io_sprintfVar(ait_val_t * __restrict v, const char *fmt, ...); |
|
/* |
|
* io_cmpVar() - Compare two variables |
|
* |
|
* @a = 1st variable |
|
* @b = 2nd variable |
|
* return: 0 is equal or !=0 is different |
|
*/ |
|
inline int io_cmpVar(ait_val_t * __restrict a, ait_val_t * __restrict b); |
/* |
/* |
* io_hashVar() - Generate hash key for variable from string or value |
* io_hashVar() - Generate hash key for variable from string or value |
* |
* |