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

/illumos-gate/usr/src/uts/common/os/
H A Dmain.c152 char *scratchargs; local
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_
[all...]
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dzoneadmd.c283 char scratchargs[BOOTARGS_MAX], *sargs; local
321 (void) strlcpy(scratchargs, inargs, sizeof (scratchargs));
322 sargs = scratchargs;
336 (void) strlcpy(scratchargs, inargs, sizeof (scratchargs));
337 sargs = scratchargs;

Completed in 81 milliseconds