version 1.1.2.3, 2021/03/19 01:30:23
|
version 1.1.2.5, 2021/03/21 01:31:07
|
Line 54 struct tagIOV {
|
Line 54 struct tagIOV {
|
typedef struct tagIOV iovec_t; |
typedef struct tagIOV iovec_t; |
|
|
#define iov_Size(x) (x)->iov_size |
#define iov_Size(x) (x)->iov_size |
|
#define iov_Array(x) (x)->iov_array |
|
|
/* |
/* |
* iov_Init() - Init new iovec array |
* iov_Init() - Init new iovec array |
Line 139 int iov_PushPair(iovec_t * __restrict iov, const char
|
Line 140 int iov_PushPair(iovec_t * __restrict iov, const char
|
*/ |
*/ |
int iov_PopPair(iovec_t * __restrict iov, char *name, size_t *namlen, |
int iov_PopPair(iovec_t * __restrict iov, char *name, size_t *namlen, |
void *data, size_t *datlen, int mustfree); |
void *data, size_t *datlen, int mustfree); |
|
/* |
|
* iov_FreePairs() - Free pairs/named data in iovec array |
|
* |
|
* @iov = iovec array |
|
* @mustfree = data must be free before delete |
|
* return: -1 error or 0 ok |
|
*/ |
|
int iov_FreePairs(iovec_t * __restrict iov, int mustfree); |
|
|
/* |
/* |
* iov_Debug() - Debug of iovec array |
* iov_Debug() - Debug of iovec array |