/src/usr.sbin/mtree/ |
excludes.c | 62 int pathname; member in struct:exclude 96 e->pathname = 1; 98 e->pathname = 0; 114 if ((e->pathname && MATCH(e->glob, path))
|
excludes.c | 62 int pathname; member in struct:exclude 96 e->pathname = 1; 98 e->pathname = 0; 114 if ((e->pathname && MATCH(e->glob, path))
|
/src/libexec/ld.elf_so/ |
search.c | 72 char pathname[MAXPATHLEN]; local in function:_rtld_search_library_path 78 if (pathnamelen >= sizeof(pathname)) 90 memcpy(pathname, dir, dirlen); 91 pathname[dirlen] = '/'; 92 memcpy(pathname + dirlen + 1, name, namelen); 93 pathname[pathnamelen] = '\0'; 95 dbg((" Trying \"%s\"", pathname)); 96 obj = _rtld_load_object(pathname, flags); 102 path->sp_path = xstrdup(pathname); 110 * Find the library with the given name, and return its full pathname 123 const char *pathname; local in function:_rtld_load_library [all...] |
search.c | 72 char pathname[MAXPATHLEN]; local in function:_rtld_search_library_path 78 if (pathnamelen >= sizeof(pathname)) 90 memcpy(pathname, dir, dirlen); 91 pathname[dirlen] = '/'; 92 memcpy(pathname + dirlen + 1, name, namelen); 93 pathname[pathnamelen] = '\0'; 95 dbg((" Trying \"%s\"", pathname)); 96 obj = _rtld_load_object(pathname, flags); 102 path->sp_path = xstrdup(pathname); 110 * Find the library with the given name, and return its full pathname 123 const char *pathname; local in function:_rtld_load_library [all...] |
/src/usr.bin/env/ |
env.c | 198 char *pathname; local in function:path_find 214 if (asprintf(&pathname, "%.*s/%s", (int)lp, p, name) == -1) { 225 if (stat(pathname, &sb) == -1) { 226 free(pathname); 239 return (const char *)pathname; 250 firstfound = pathname; 252 free(pathname);
|
env.c | 198 char *pathname; local in function:path_find 214 if (asprintf(&pathname, "%.*s/%s", (int)lp, p, name) == -1) { 225 if (stat(pathname, &sb) == -1) { 226 free(pathname); 239 return (const char *)pathname; 250 firstfound = pathname; 252 free(pathname);
|
/src/lib/libresolv/ |
support.c | 312 char pathname[PATH_MAX]; local in function:dst_s_fopen 314 if (strlen(filename) + strlen(dst_path) >= sizeof(pathname)) 318 strcpy(pathname, dst_path); 319 strcat(pathname, filename); 321 strcpy(pathname, filename); 323 fp = fopen(pathname, mode); 325 chmod(pathname, (mode_t)perm);
|
support.c | 312 char pathname[PATH_MAX]; local in function:dst_s_fopen 314 if (strlen(filename) + strlen(dst_path) >= sizeof(pathname)) 318 strcpy(pathname, dst_path); 319 strcat(pathname, filename); 321 strcpy(pathname, filename); 323 fp = fopen(pathname, mode); 325 chmod(pathname, (mode_t)perm);
|
/src/usr.bin/mail/ |
mime_detach.c | 95 detach_get_fname(char *prompt, char *pathname) 100 fname = my_gets(&elm.filec, prompt, pathname); 107 pathname = savestr(fname); /* save this or it gets trashed */ 110 (void)printf("%s%s\n", prompt, pathname); 112 return pathname; 179 char *pathname; local in function:detach_open_target 193 * Get the suggested target pathname. 196 (void)sasprintf(&pathname, "%s/%s", mip->mi_detachdir, 202 (void)sasprintf(&pathname, "%s/msg-%s.part-%s.%s", 219 if ((fname = detach_get_fname(prompt, pathname)) == NULL 254 char *pathname; local in function:mime_detach_parts [all...] |
mime_detach.c | 95 detach_get_fname(char *prompt, char *pathname) 100 fname = my_gets(&elm.filec, prompt, pathname); 107 pathname = savestr(fname); /* save this or it gets trashed */ 110 (void)printf("%s%s\n", prompt, pathname); 112 return pathname; 179 char *pathname; local in function:detach_open_target 193 * Get the suggested target pathname. 196 (void)sasprintf(&pathname, "%s/%s", mip->mi_detachdir, 202 (void)sasprintf(&pathname, "%s/msg-%s.part-%s.%s", 219 if ((fname = detach_get_fname(prompt, pathname)) == NULL 254 char *pathname; local in function:mime_detach_parts [all...] |
/src/libexec/ftpd/ |
ftpcmd.y | 167 %type <s> pathstring pathname password username 206 | CWD check_login SP pathname CRLF 408 | RETR check_login SP pathname CRLF 416 | STOR SP pathname CRLF 424 | STOU SP pathname CRLF 432 | APPE SP pathname CRLF 452 | RNTO SP pathname CRLF 474 | DELE SP pathname CRLF 482 | RMD SP pathname CRLF 490 | MKD SP pathname CRL 1104 pathname label [all...] |
ftpcmd.y | 167 %type <s> pathstring pathname password username 206 | CWD check_login SP pathname CRLF 408 | RETR check_login SP pathname CRLF 416 | STOR SP pathname CRLF 424 | STOU SP pathname CRLF 432 | APPE SP pathname CRLF 452 | RNTO SP pathname CRLF 474 | DELE SP pathname CRLF 482 | RMD SP pathname CRLF 490 | MKD SP pathname CRL 1104 pathname label [all...] |
/src/usr.bin/getconf/ |
getconf.c | 198 const char *varname, *pathname, *vn; local in function:main 228 pathname = argv[0]; /* may be NULL */ 235 if ((cp->type == PATHCONF) == (pathname != NULL)) { 236 printvar(cp, pathname); 273 printvar(const struct conf_variable *cp, const char *pathname) 322 if ((val = pathconf(pathname, (int)cp->value)) == -1) { 329 pathname, cp->value); 346 "\t%s path_var pathname\n\t%s -a pathname\n", p, p, p, p);
|
getconf.c | 198 const char *varname, *pathname, *vn; local in function:main 228 pathname = argv[0]; /* may be NULL */ 235 if ((cp->type == PATHCONF) == (pathname != NULL)) { 236 printvar(cp, pathname); 273 printvar(const struct conf_variable *cp, const char *pathname) 322 if ((val = pathconf(pathname, (int)cp->value)) == -1) { 329 pathname, cp->value); 346 "\t%s path_var pathname\n\t%s -a pathname\n", p, p, p, p);
|
/src/bin/getfacl/ |
getfacl.c | 273 char *p, pathname[PATH_MAX]; local in function:print_acl_from_stdin 276 while (fgets(pathname, (int)sizeof(pathname), stdin)) { 277 if ((p = strchr(pathname, '\n')) != NULL) 279 if (print_acl(pathname, type, hflag, iflag, nflag,
|
getfacl.c | 273 char *p, pathname[PATH_MAX]; local in function:print_acl_from_stdin 276 while (fgets(pathname, (int)sizeof(pathname), stdin)) { 277 if ((p = strchr(pathname, '\n')) != NULL) 279 if (print_acl(pathname, type, hflag, iflag, nflag,
|
/src/sys/nfs/ |
nfs_bootparam.c | 98 * get root and swap server:pathname info. 187 * Now fetch the server:pathname strings and server IP 220 /* have pathname */ 250 * and use the "pathname" part of the reply as the mask. 397 * server pathname 403 char pathname[MNAMELEN]; local in function:bp_getfile 447 /* server pathname */ 448 path_len = sizeof(pathname) - 1; 449 m = xdr_string_decode(m, pathname, &path_len); 455 * The strings become "server:pathname" [all...] |
nfs_bootparam.c | 98 * get root and swap server:pathname info. 187 * Now fetch the server:pathname strings and server IP 220 /* have pathname */ 250 * and use the "pathname" part of the reply as the mask. 397 * server pathname 403 char pathname[MNAMELEN]; local in function:bp_getfile 447 /* server pathname */ 448 path_len = sizeof(pathname) - 1; 449 m = xdr_string_decode(m, pathname, &path_len); 455 * The strings become "server:pathname" [all...] |
nfs_boot.c | 590 char *pathname; local in function:nfs_boot_getfh 627 * Find the pathname part of the "server:pathname" 630 pathname = strchr(ndm->ndm_host, ':'); 631 if (pathname == 0) { 632 printf("nfs_boot: getfh - no pathname\n"); 635 pathname++; 641 error = md_mount(sin, pathname, args, l); 672 * Given a server pathname, get an NFS file handle.
|
nfs_boot.c | 590 char *pathname; local in function:nfs_boot_getfh 627 * Find the pathname part of the "server:pathname" 630 pathname = strchr(ndm->ndm_host, ':'); 631 if (pathname == 0) { 632 printf("nfs_boot: getfh - no pathname\n"); 635 pathname++; 641 error = md_mount(sin, pathname, args, l); 672 * Given a server pathname, get an NFS file handle.
|
/src/lib/libexecinfo/ |
backtrace.c | 63 const char *pathname = SELF; local in function:open_self 73 pathname = path; 75 return open(pathname, flags);
|
backtrace.c | 63 const char *pathname = SELF; local in function:open_self 73 pathname = path; 75 return open(pathname, flags);
|
/src/usr.bin/rdist/ |
defs.h | 129 char pathname[BUFSIZ]; member in struct:linkbuf
|
defs.h | 129 char pathname[BUFSIZ]; member in struct:linkbuf
|
/src/usr.bin/mkdep/ |
mkdep.c | 100 char * volatile pathname; local in function:run_cc 109 if ((pathname = findcc(CC)) == NULL) 111 pathname = findcc(CC); 112 if (pathname == NULL) 143 (void)execv(pathname, args); 151 free(pathname);
|