Home
last modified time | relevance | path

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

/minix3/bin/csh/
H A Ddir.c86 ecp = short2str(hp); in dinit()
111 stat(ecp, &swd) != -1 && stat(short2str(hp), &shp) != -1 && in dinit()
344 if (chdir(short2str(cp)) < 0) in dochngd()
354 if (chdir(tmp = short2str(dp->di_name)) < 0) in dochngd()
426 if (chdir(short2str(dp)) >= 0) { in dfollow()
432 if (chdir(short2str(cp)) >= 0) in dfollow()
449 if (chdir(short2str(buf)) >= 0) { in dfollow()
458 if ((dp[0] == '/' || dp[0] == '.') && chdir(short2str(dp)) >= 0) { in dfollow()
464 (void)strcpy(ebuf, short2str(cp)); in dfollow()
490 if (chdir(tmp = short2str(dp->di_name)) < 0) in dopushd()
[all …]
H A Dexec.c148 slash = any(short2str(expath), '/'); in doexec()
276 f = short2str(sf); in texec()
330 f = short2str(sf); in texec()
457 dirp = opendir(short2str(*pv)); in dohash()
513 slash = any(short2str(name), '/'); in iscommand()
585 strname = short2str(path); in executable()
588 strname = short2str(name); in executable()
701 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 Dstr.c91 *dst++ = strsave(short2str(*src)); in short2blk()
128 short2str(const Char *src) in short2str() function
439 (void)strvis(sdst, short2str(cp), VIS_NOSLASH); in vis_str()
H A Dproc.c103 if (pid == atoi(short2str(value(STRchild)))) in pchild()
138 >= atoi(short2str(value(STRtime)))) in pchild()
941 signum = strtol(short2str(v[1]), &ep, 10); in dokill()
959 signum = strtol(short2str(v[0] + 1), &ep, 10); in dokill()
972 name = short2str(signame); in dokill()
1057 pid = (pid_t)strtoul(short2str(cp), &ep, 0); in pkill()
1060 short2str(cp)); in pkill()
1144 int idx = atoi(short2str(cp + 1)); in pfind()
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 Dcsh.c647 ptr = short2str(ep); in srccat()
819 if ((fp = open(short2str(hfile), O_WRONLY | O_CREAT | O_TRUNC, in rechist()
1151 (void)strcpy((char *)buf, short2str(f)); in dosource()
1188 if (stat(short2str(*vp), &stb) < 0) in mailchk()
1228 if ((pw = getpwnam(short2str(home))) != NULL) { in gethdir()
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 Dsem.c543 (void)strlcpy(tmp, short2str(cp), sizeof(tmp)); in doio()
571 (void)strlcpy(tmp, short2str(cp), sizeof(tmp)); in doio()
H A Dtime.c151 cp = short2str(vp->vec[1]); in prusage()
H A Dextern.h335 char *short2str(const Char *);
H A Dglob.c917 (void)strcpy(buf, short2str(*(Char **)a)); in sortscmp()
918 return ((int)strcoll(buf, short2str(*(Char **)b))); in sortscmp()
H A Dcsh.h503 #define short2str(a) strip(a) macro
H A Dset.c803 (void)fprintf(cshout, "%s\t", short2str(p->v_name)); in plist()
H A Dlex.c1001 if (!any(short2str(cp), '/')) in domod()