HomeSort by: relevance | last modified time | path
    Searched defs:path (Results 1 - 25 of 331) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/external/bsd/acpica/dist/generate/lint/
lset.bat 1 set path=%PATH%;$G variable
  /src/games/cribbage/
instr.c 64 const char *path; local
75 path = "cat";
77 if (!(path = getenv("PAGER")) || (*path == 0))
78 path = _PATH_MORE;
88 execl("/bin/sh", "sh", "-c", path, (char *) NULL);
  /src/lib/libc/gen/
posix_spawnp.c 55 const char *path, *p; local
61 /* "" is not a valid filename; check this before traversing PATH. */
71 /* Get the path we're searching. */
72 if ((path = getenv("PATH")) == NULL)
73 path = _PATH_DEFPATH;
76 * Find an executable image with the given name in the PATH
82 /* Find the end of this path element. */
83 for (p = path; *path != 0 && *path != ':'; path++
    [all...]
execvp.c 67 const char *bp, *path, *p; local
71 /* "" is not a valid filename; check this before traversing PATH. */
77 /* If it's an absolute or relative path name, it's easy. */
80 path = "";
85 /* Get the path we're searching. */
86 if (!(path = getenv("PATH")))
87 path = _PATH_DEFPATH;
90 /* Find the end of this path element. */
91 for (p = path; *path != 0 && *path != ':'; path++
    [all...]
  /src/usr.bin/make/unit-tests/
modmisc.mk 7 path= :/bin:/tmp::/:.:/no/such/dir:. macro
8 # strip cwd from path.
24 @echo "path='${path}'"
25 @echo "path='${path:${MOD_NODOT}}'"
26 @echo "path='${path:S,home,homes,:${MOD_NODOT}}'"
27 @echo "path=${path:${MOD_NODOTX}:ts:}
    [all...]
  /src/usr.bin/mkdep/
findcc.c 55 const char *path, *dir; local
70 if ((path = getenv("PATH")) == NULL)
73 for (dir = path; *dir != '\0'; ) {
  /src/usr.bin/patch/
pch.h 39 char *path; member in struct:file_name
  /src/usr.bin/sort/
tmp.c 90 char path[MAXPATHLEN]; local
92 (void)snprintf(path, sizeof(path), "%s%s%s", tmpdir,
97 if ((fd = mkstemp(path)) < 0)
98 err(2, "ftmp: mkstemp(\"%s\")", path);
100 err(2, "ftmp: fdopen(\"%s\")", path);
102 (void)unlink(path);
  /src/lib/libc/citrus/
citrus_lc_ctype.c 81 char path[PATH_MAX + 1]; local
89 snprintf(path, sizeof(path),
91 ret = _citrus_map_file(&r, path);
citrus_lc_template.h 36 char path[PATH_MAX + 1]; local
43 snprintf(path, sizeof(path),
45 ret = _map_file(&file, path);
  /src/lib/libc/db/db/
dbfile.c 85 char path[PATH_MAX]; local
92 len = snprintf(path, sizeof(path), "%s/%sXXXXXX",
94 if ((size_t)len >= sizeof(path)) {
102 if ((fd = mkstemp(path)) != -1) {
103 if (unlink(path) == -1)
  /src/lib/libc/db/hash/
ndbm.c 66 char path[MAXPATHLEN]; local
74 (void)strncpy(path, file, sizeof(path) - 1);
75 (void)strncat(path, DBM_SUFFIX, sizeof(path) - strlen(path) - 1);
80 return ((DBM *)__hash_open(path, flags, mode, &info, 0));
  /src/sbin/veriexecctl/
veriexecctl_parse.y 59 %token <string> PATH
66 | statement path type fingerprint flags eol {
115 path : PATH { label
  /src/sys/arch/hppa/stand/cdboot/
cdboot.c 89 char path[128]; local
96 devboot(boot_dev, path);
98 strncpy(path + strlen(path), ":/netbsd", 9);
100 printf(">> Booting %s: ", path);
108 if ((fd = loadfile(path, marks, LOAD_KERNEL)) == -1)
  /src/sys/compat/common/
compat_util.c 137 * If the path is exactly "/usr/libexec/ld.elf_so", first
144 char *path; local
146 path = PNBUF_GET();
147 snprintf(path, MAXPATHLEN, "%s-%s", interp, interp_suffix);
148 error = namei_simple_kernel(path,
156 snprintf(interp, MAXPATHLEN, "%s", path);
158 PNBUF_PUT(path);
  /src/tests/lib/libc/stdio/
t_clearerr.c 36 static const char path[] = "/etc/passwd"; variable
49 fp = fopen(path, "r");
75 fp = fopen(path, "r");
  /src/tests/lib/libc/stdlib/
t_system.c 40 static const char *path = "system"; variable
60 fd = open(path, O_RDONLY);
69 ATF_REQUIRE(unlink(path) == 0);
74 (void)unlink(path);
  /src/tests/lib/libc/sys/
t_getsockname.c 46 const char *path = "sock.unix"; local
63 strcpy(sun.sun_path, path);
70 ATF_CHECK(strcmp(sun.sun_path, path) == 0);
73 ATF_REQUIRE(unlink(path) != -1);
  /src/usr.bin/find/
ls.c 65 char *accpath, /* current valid path to filename */
116 char path[MAXPATHLEN + 1]; local
118 if ((lnklen = readlink(name, path, sizeof(path) - 1)) == -1) {
122 path[lnklen] = '\0';
123 (void)printf(" -> %s", path);
  /src/usr.bin/write/
term_chk.c 62 char path[MAXPATHLEN]; local
70 i = snprintf(path, sizeof path, _PATH_DEV "%s", tty);
71 if (i < 0 || i >= (int)sizeof(path)) {
77 fd = open(path, O_WRONLY, 0);
  /src/games/phantasia/
setup.c 88 char *path;
111 path = strrchr(*filename, '/') + 1;
112 if (stat(path, &fbuf) == 0)
115 if (unlink(path) < 0)
116 Error("Cannot unlink %s.\n", path);
120 if ((fd = creat(path, 0660)) < 0)
121 Error("Cannot create %s.\n", path);
130 if ((fp = fopen(path, "w")) == NULL)
131 Error("Cannot create %s.\n", path);
135 path = strrchr(_PATH_MONST, '/') + 1
87 char *path; local
    [all...]
  /src/lib/librt/
shm.c 124 char path[PATH_MAX]; local
126 if (!_shm_get_path(path, sizeof(path), name)) {
129 return open(path, oflag | O_CLOEXEC | O_NOFOLLOW, mode);
135 char path[PATH_MAX]; local
137 if (!_shm_get_path(path, sizeof(path), name)) {
140 return unlink(path);
  /src/lib/librumpuser/
rumpuser_daemonize.c 59 char path[PATH_MAX]; local
62 if (getenv_r("RUMP_STDOUT", path, sizeof(path)) == 0) {
63 if ((fd = open(path, O_WRONLY|O_CREAT)) == -1)
68 if (getenv_r("RUMP_STDERR", path, sizeof(path)) == 0) {
69 if ((fd = open(path, O_WRONLY|O_CREAT)) == -1)
  /src/libexec/ld.elf_so/
search.c 98 Search_Path *path; local
100 path = NEW(Search_Path);
101 path->sp_pathlen = pathnamelen;
102 path->sp_path = xstrdup(pathname);
103 path->sp_next = _rtld_invalid_paths;
104 _rtld_invalid_paths = path;
115 * loaded shared object, whose library search path will be searched.
164 refobj ? refobj->path : __progname, name);
  /src/sbin/mount_portal/
pt_filter.c 51 * Key will be <key><path>. We let the configuration file
60 fill_cmd(char **cmdv, char *path, char *buff, int n)
76 snprintf(buff, n, tempbuff, path);
83 * of the path, and exec v[2] v[3] ... on the remainder.
89 char *path; local
113 * will be replaced by the full path. If arg1 is
124 path = key;
127 path += strlen(v[1]);
131 * ... will be replaced with the path.
133 fill_cmd(v + 2, path, cmd, FILTER_CMD_SIZE)
166 char *path; local
    [all...]

Completed in 62 milliseconds

1 2 3 4 5 6 7 8 91011>>