Lines Matching refs:scratchargs
152 char *scratchargs;
166 scratchargs = kmem_alloc(alen, KM_SLEEP);
167 (void) snprintf(scratchargs, alen, "%s %s", initpath, args);
174 for (i = 0; i < strlen(scratchargs); i++) {
175 if (scratchargs[i] == ' ' || scratchargs[i] == '\0') {
223 if (scratchargs[i] == ' ' || scratchargs[i] == '\0') {
226 scratchargs[i] = '\0';
235 error |= copyout(scratchargs, (caddr_t)(uintptr_t)ucp, alen);
246 kmem_free(scratchargs, alen);
252 kmem_free(scratchargs, alen);