Home
last modified time | relevance | path

Searched refs:short2str (Results 1 – 15 of 15) sorted by relevance

/netbsd-src/bin/csh/
H A Ddir.c88 ecp = short2str(hp); in dinit()
113 stat(ecp, &swd) != -1 && stat(short2str(hp), &shp) != -1 && in dinit()
346 if (chdir(short2str(cp)) < 0) in dochngd()
356 if (chdir(tmp = short2str(dp->di_name)) < 0) in dochngd()
429 if (chdir(short2str(dp)) >= 0) { in dfollow()
435 if (chdir(short2str(cp)) >= 0) in dfollow()
452 if (chdir(short2str(buf)) >= 0) { in dfollow()
461 if ((dp[0] == '/' || dp[0] == '.') && chdir(short2str(dp)) >= 0) { in dfollow()
467 (void)strcpy(ebuf, short2str(cp)); in dfollow()
493 if (chdir(tmp = short2str(dp->di_name)) < 0) in dopushd()
[all …]
H A Dexec.c150 slash = any(short2str(expath), '/'); in doexec()
278 f = short2str(sf); in texec()
332 f = short2str(sf); in texec()
459 dirp = opendir(short2str(*pv)); in dohash()
515 slash = any(short2str(name), '/'); in iscommand()
587 strname = short2str(path); in executable()
590 strname = short2str(name); in executable()
703 int slash = any(short2str(sp->word), '/'); in tellmewhat()
H A Ddol.c509 dolp = (vp || getenv(short2str(name))) ? STR1 : STR0; in Dgetdol()
513 np = str2short(getenv(short2str(name))); in Dgetdol()
828 tmp = short2str(shtemp); in heredoc()
875 (void)write(0, short2str(obuf), (size_t)(BUFSIZE - ocnt)); in heredoc()
889 (void) write(0, short2str(obuf), BUFSIZE); in heredoc()
931 if (any(short2str(mbp), '`')) { in heredoc()
953 (void)write(0, short2str(obuf), BUFSIZE); in heredoc()
960 (void)write(0, short2str(obuf), BUFSIZE); in heredoc()
H A Dexp.c485 if (isa(**vp, ANYOP) && stat(short2str(**vp), &stb)) in exp6()
494 i = !access(short2str(ep), R_OK); in exp6()
497 i = !access(short2str(ep), W_OK); in exp6()
500 i = !access(short2str(ep), X_OK); in exp6()
504 lstat(short2str(ep), &stb) : stat(short2str(ep), &stb)) { in exp6()
H A Dproc.c114 if (pid == atoi(short2str(value(STRchild)))) in pchild()
149 >= atoi(short2str(value(STRtime)))) in pchild()
850 setproctitle("%s", short2str(v[1])); in dojobs()
963 signum = strtol(short2str(v[1]), &ep, 10); in dokill()
981 signum = strtol(short2str(v[0] + 1), &ep, 10); in dokill()
994 name = short2str(signame); in dokill()
1079 pid = (pid_t)strtoul(short2str(cp), &ep, 0); in pkill()
1082 short2str(cp)); in pkill()
1166 int idx = atoi(short2str(cp + 1)); in pfind()
H A Dstr.c91 *dst++ = strsave(short2str(*src)); in short2blk()
127 short2str(const Char *src) in short2str() function
435 (void)strvis(sdst, short2str(cp), VIS_NOSLASH); in vis_str()
H A Dfile.c279 if (lstat(short2str(path), &statb) == 0) { in filetype()
284 if (stat(short2str(path), &statb) == 0 && /* follow it out */ in filetype()
362 pw = getpwnam(short2str(person)); in tilde()
505 dir_fd = opendir(*tilded_dir ? short2str(tilded_dir) : "."); in tsearch()
H A Dfunc.c84 label.bname = short2str(cp); in isbfunc()
90 backgnd.bname = short2str(cp); in isbfunc()
93 foregnd.bname = short2str(cp); in isbfunc()
237 (void)execl(_PATH_LOGIN, "login", short2str(v[1]), NULL); in dologin()
1175 d = atof(short2str(cp)); in getval()
1188 return ((RLIM_TYPE)(d * 60.0 + atof(short2str(cp + 1)))); in getval()
H A Dcsh.c731 ptr = short2str(ep); in srccat()
903 if ((fp = open(short2str(hfile), O_WRONLY | O_CREAT | O_TRUNC, in rechist()
1239 (void)strcpy((char *)buf, short2str(f)); in dosource()
1276 if (stat(short2str(*vp), &stb) < 0) in mailchk()
1316 if ((pw = getpwnam(short2str(home))) != NULL) { in gethdir()
H A Dsem.c543 (void)strlcpy(tmp, short2str(cp), sizeof(tmp)); in doio()
571 (void)strlcpy(tmp, short2str(cp), sizeof(tmp)); in doio()
H A Dglob.c931 (void)strcpy(buf, short2str(*a)); in sortscmp()
932 return (int)strcoll(buf, short2str(*b)); in sortscmp()
H A Dtime.c138 cp = short2str(vp->vec[1]); in prusage()
H A Dset.c572 el_set(el, EL_EDITOR, *vn ? short2str(vn) : "emacs"); in updateediting()
861 (void)fprintf(cshout, "%s\t", short2str(p->v_name)); in plist()
H A Dextern.h341 char *short2str(const Char *);
H A Dcsh.h501 #define short2str(a) strip(a) macro