/src/lib/libc/gen/ |
posix_spawnp.c | 54 char fpath[FILENAME_MAX]; local in function:posix_spawnp 108 if (lp + ln + 2 > sizeof(fpath)) { 114 memcpy(fpath, p, lp); 115 fpath[lp] = '/'; 116 memcpy(fpath + lp + 1, file, ln); 117 fpath[lp + ln + 1] = '\0'; 121 * here, using the current fpath as the filename, but 130 if (access(fpath, X_OK) == 0) 136 fpath[0] = '\0'; 141 if (fpath[0] == '\0' [all...] |
/src/tests/fs/vfs/ |
t_vfsops.c | 77 char fpath[MAXPATHLEN]; local in function:tfilehandle 83 sprintf(fpath, "%s/file", path); 84 fd = rump_sys_open(fpath, O_RDWR | O_CREAT, 0777); 97 if (rump_sys_getfh(fpath, NULL, &fhsize) == -1) { 106 if (rump_sys_getfh(fpath, fhp, &fhsize) == -1)
|
/src/sbin/scan_ffs/ |
scan_ffs.c | 493 const char *fpath; local in function:main 497 fpath = NULL; 512 fpath = optarg; 537 if (stat(fpath, &stp)) 538 err(1, "Cannot stat `%s'", fpath); 546 fd = open(fpath, O_RDONLY | O_DIRECT);
|
/src/bin/ksh/ |
exec.c | 600 if (!tp->u.fpath) { 613 if (include(tp->u.fpath, 0, (char **) 0, 0) < 0) { 616 cp, tp->u.fpath, strerror(errno)); 625 cp, tp->u.fpath); 900 char *fpath; /* for function autoloading */ local in function:findcom 905 /* prevent FPATH search below */ 918 if ((fpath = str_val(global("FPATH"))) == null) { 919 tp->u.fpath = (char *) 0; 922 tp->u.fpath = search(name, fpath, R_OK [all...] |
edit.c | 626 char *fpath; local in function:x_command_glob 649 if ((fpath = str_val(global("FPATH"))) != null) 650 glob_path(flags, pat, &w, fpath);
|
table.h | 31 char *fpath; /* temporary path to undef function */ member in union:tbl::__anon744d14a8030a
|