Searched refs:cus (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libcmdutils/common/
H A Dcustr.c43 custr_reset(custr_t *cus) argument
45 if (cus->cus_data == NULL)
48 cus->cus_strlen = 0;
49 cus->cus_data[0] = '\0';
53 custr_len(custr_t *cus) argument
55 return (cus->cus_strlen);
59 custr_cstr(custr_t *cus) argument
61 if (cus->cus_data == NULL) {
62 VERIFY(cus->cus_strlen == 0);
63 VERIFY(cus
75 custr_append_vprintf(custr_t *cus, const char *fmt, va_list ap) argument
132 custr_appendc(custr_t *cus, char newc) argument
138 custr_append_printf(custr_t *cus, const char *fmt, ...) argument
151 custr_append(custr_t *cus, const char *name) argument
157 custr_alloc(custr_t **cus) argument
171 custr_alloc_buf(custr_t **cus, void *buf, size_t buflen) argument
193 custr_free(custr_t *cus) argument
[all...]

Completed in 43 milliseconds