Home
last modified time | relevance | path

Searched refs:comargn (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/cmd/sh/
H A Dservice.c435 unsigned char **comargn, **comargm; local
437 comargn = (unsigned char **)getstak(BYTESPERWORD * argn + BYTESPERWORD);
438 comargm = comargn += argn;
439 *comargn = ENDARGS;
442 *--comargn = argp->argval;
444 trim(*comargn);
449 gsort(comargn, comargm);
450 comargm = comargn;
454 return (comargn);
/titanic_50/usr/src/lib/libshell/common/sh/
H A Dargs.c742 register char **comargn; in sh_argbuild() local
749 comargn=(char**)stkalloc(shp->stk,(unsigned)(argn+1)*sizeof(char*)); in sh_argbuild()
750 comargm = comargn += argn; in sh_argbuild()
751 *comargn = NIL(char*); in sh_argbuild()
755 *--comargn = 0; in sh_argbuild()
756 return(comargn); in sh_argbuild()
762 *--comargn = argp->argval; in sh_argbuild()
764 sh_trim(*comargn); in sh_argbuild()
767 if((argn=comargm-comargn)>1) in sh_argbuild()
768 strsort(comargn,argn,strcoll); in sh_argbuild()
[all …]