Searched defs:a_new (Results 1 - 2 of 2) sorted by relevance

/osnet-11/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);
/osnet-11/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);

Completed in 35 milliseconds