/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))
|
/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...] |
/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);
|
/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);
|
/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...] |
complete.c | 460 char pathname[ MAXPATHLEN ]; local in function:find_execs 463 (void)snprintf(pathname, sizeof(pathname), 465 if (stat(pathname, &sb) != 0) { 466 perror(pathname);
|
/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...] |
/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);
|
/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,
|
/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_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);
|
/src/usr.bin/rdist/ |
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);
|
/src/usr.sbin/rpc.pcnfsd/ |
pcnfsd_print.c | 92 char pathname[MAXPATHLEN]; variable in typeref:typename:char[] 149 * get pathname of current directory and return to client 162 *sp = &pathname[0]; 163 pathname[0] = '\0'; 180 (void) snprintf(pathname, sizeof(pathname), "%s/%s", sp_name, sys); 182 rc = mkdir(pathname, dir_mode); /* DON'T ignore this return code */ 188 if (stat(pathname, &statbuf) || !S_ISDIR(statbuf.st_mode)) { 193 pathname); 195 pathname[0] = '\0'; /* null to tell client bad vibes * [all...] |
/src/usr.bin/unzip/ |
unzip.c | 310 * Verify that a given pathname is in the include list and not in the 314 accept_pathname(const char *pathname) 317 if (!STAILQ_EMPTY(&include) && !match_pattern(&include, pathname)) 319 if (!STAILQ_EMPTY(&exclude) && match_pattern(&exclude, pathname)) 511 extract2fd(struct archive *a, char *pathname, int fd) 536 error("write('%s')", pathname); 563 error("write('%s')", pathname); 573 " heuristic", pathname); 586 error("write('%s')", pathname); 702 char *pathname, *realpathname local in function:extract 766 char *pathname; local in function:extract_stdout [all...] |
/src/libexec/tftpd/ |
tftpd.c | 96 * Null-terminated directory prefix list for absolute pathname requests and 97 * search list for relative pathname requests. 730 * bootfile pathname from a diskless Sun. 778 static char pathname[MAXPATHLEN]; local in function:validate_access 833 snprintf(pathname, sizeof pathname, "%s/%s", 835 if (stat(pathname, &stbuf) == 0 && 846 *filep = filename = pathname;
|
/src/usr.sbin/ypbind/ |
ypbind.c | 231 * Get pathname for the ypservers file for a given domain 311 const char *pathname; local in function:domain_create 345 pathname = ypservers_filename(dom->dom_name); 346 if (stat(pathname, &st) < 0) { 349 pathname); 418 char pathname[MAXPATHLEN]; local in function:purge_bindingdir 430 (void)snprintf(pathname, sizeof(pathname), 432 if (unlink(pathname) < 0 && errno != ENOENT)
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_linux_libcdep.cc | 819 const char *pathname = "/proc/self/exe"; local in function:__sanitizer::ReExec 833 pathname = path; 835 pathname = getexecname(); 836 CHECK_NE(pathname, NULL); 840 pathname = reinterpret_cast<const char *>(getauxval(AT_EXECFN)); 843 uptr rv = internal_execve(pathname, GetArgv(), GetEnviron());
|
/src/sbin/fsck_udf/ |
main.c | 3116 udf_node_path_piece(char *pathname, struct udf_fsck_node *node) 3119 udf_node_path_piece(pathname, node->parent); 3121 strcat(pathname, ""); 3123 strcat(pathname, "/"); 3125 strcat(pathname, node->fname); 3132 static char pathname[MAXPATHLEN + 10]; local in function:udf_node_path 3134 strcpy(pathname, "`"); 3136 udf_node_path_piece(pathname, node); 3138 strcat(pathname, "/"); 3139 strcat(pathname, "'"); [all...] |