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

/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_str.c103 * a_new - [RO, *RO] - (char *)
107 * a_new[0] == '\0' - no action is performed
124 _z_strAddToken(char **a_old, char *a_new, char a_separator) argument
133 if (a_new == NULL || *a_new == '\0') {
139 assert(strchr(a_new, (int)a_separator) == NULL);
153 p = _z_strPrintf("%s%c%s", *a_old, a_separator, a_new);
162 *a_old = _z_strdup(a_new);
H A Dinstzones_lib.h351 void _z_strAddToken(char **a_old, char *a_new,
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgstr.c590 * a_new - [RO, *RO] - (char *)
594 * a_new[0] == '\0' - no action is performed
611 pkgstrAddToken(char **a_old, char *a_new, char a_separator) argument
620 if (a_new == (char *)NULL) {
626 if (*a_new == '\0') {
632 assert(strchr(a_new, (int)a_separator) == (char *)NULL);
646 p = pkgstrPrintf("%s%c%s", *a_old, a_separator, a_new);
655 *a_old = strdup(a_new);
H A Dpkglib.h531 void pkgstrAddToken(char **a_old, char *a_new, char a_separator);

Completed in 62 milliseconds