version 1.9, 2020/03/06 18:12:55 |
version 1.10, 2020/04/03 02:25:21 |
|
|
return ret; |
return ret; |
} |
} |
|
|
|
int |
|
asmprintf(char **outp, size_t sz, int *wp, const char *fmt, ...) |
|
{ |
|
va_list ap; |
|
int ret; |
|
|
|
*outp = NULL; |
|
va_start(ap, fmt); |
|
ret = vasnmprintf(outp, sz, wp, fmt, ap); |
|
va_end(ap); |
|
|
|
return ret; |
|
} |
|
|
/* |
/* |
* To stay close to the standard interfaces, the following functions |
* To stay close to the standard interfaces, the following functions |
* return the number of non-NUL bytes written. |
* return the number of non-NUL bytes written. |