Home
last modified time | relevance | path

Searched refs:lastarg (Results 1 – 12 of 12) sorted by relevance

/titanic_50/usr/src/lib/libc/port/gen/
H A Dnlspath_checks.c266 int lastarg = -1; in extract_format() local
285 prevarg = lastarg; in extract_format()
286 arg = ++lastarg; in extract_format()
293 lastarg = arg = t - 1; in extract_format()
350 lastarg = ++arg; in extract_format()
457 lastarg = prevarg; in extract_format()
/titanic_50/usr/src/cmd/msgfmt/
H A Dgnu_check.c47 int lastarg = -1; in extract_format() local
58 prevarg = lastarg; in extract_format()
59 arg = ++lastarg; in extract_format()
66 lastarg = arg = t - 1; in extract_format()
127 lastarg = ++arg; in extract_format()
251 lastarg = prevarg; in extract_format()
/titanic_50/usr/src/cmd/xargs/
H A Dxargs.c99 static char lastarg[BUFSIZE + 1]; variable
381 lastarg[0] = '\0'; in main()
390 while (MORE || (lastarg[0] != '\0')) { in main()
393 if (*lastarg != '\0') { in main()
394 arg = strcpy(next, lastarg); in main()
395 *lastarg = '\0'; in main()
421 (void) strcpy(lastarg, arg); in main()
/titanic_50/usr/src/lib/libshell/common/bltins/
H A Dprint.c62 char *lastarg; member
616 pp->lastarg = argp; in extend()
618 argp = pp->lastarg; in extend()
626 pp->lastarg = 0; in extend()
/titanic_50/usr/src/lib/libshell/common/sh/
H A Dmain.c680 char *save = shp->lastarg; in chkmail()
681 shp->lastarg = cp; in chkmail()
683 shp->lastarg = save; in chkmail()
H A Dinit.c676 … if(sh_isstate(SH_INIT) && (cp=shp->lastarg) && *cp=='*' && (pid=strtol(cp+1,&cp,10)) && *cp=='*') in get_lastarg()
678 return(shp->lastarg); in get_lastarg()
691 if(shp->lastarg && !nv_isattr(np,NV_NOFREE)) in put_lastarg()
692 free((void*)shp->lastarg); in put_lastarg()
695 shp->lastarg = (char*)val; in put_lastarg()
1410 shp->st.filename = strdup(shp->lastarg); in sh_reinit()
H A Dxec.c2211 static char lastarg[32]; in sh_exec() local
2214 if(shp->lastarg!= lastarg && shp->lastarg) in sh_exec()
2215 free(shp->lastarg); in sh_exec()
2216 if(strlen(comn) < sizeof(lastarg)) in sh_exec()
2219 shp->lastarg = strcpy(lastarg,comn); in sh_exec()
2224 shp->lastarg = strdup(comn); in sh_exec()
H A Dpath.c1302 shp->lastarg = strdup(path); in exscript()
/titanic_50/usr/src/cmd/mandoc/
H A Dmdoc_macro.c490 int j, lastarg, maxargs, nl; in blk_exp_close() local
627 lastarg = *pos; in blk_exp_close()
639 lookup(mdoc, tok, line, lastarg, p); in blk_exp_close()
642 dword(mdoc, line, lastarg, p, DELIM_MAX, in blk_exp_close()
652 mdoc_macro(mdoc, ntok, line, lastarg, pos, buf); in blk_exp_close()
/titanic_50/usr/src/lib/libshell/common/include/
H A Ddefs.h122 char *lastarg; \
/titanic_50/usr/src/cmd/more/
H A Dmore.c954 static off_t lastarg; variable
991 nlines = lastarg; in command()
996 lastarg = nlines; in command()
/titanic_50/usr/src/tools/cscope-fast/
H A Dmain.c640 goto lastarg; in options()
786 lastarg: in options()