Lines Matching refs:protodir
37 #include "protodir.h"
358 read_pkginfo(const char *protodir, short *arch, char *basedir)
377 (void) strcat(strcat(strcpy(pkginfofile, protodir), "/"),
381 (void) strcat(strcat(strcpy(pkginfofile, protodir), "/"),
441 * protodir - directory in which prototype file resides.
452 first_pass_prototype(const char *protofile, const char *protodir,
506 include_file, protodir), "/"),
510 protodir, list, arch, basedir,
548 * protodir - directory in which prototype file resides.
559 second_pass_prototype(const char *protofile, const char *protodir,
602 protodir), "/"), inc_file);
609 protodir, list, arch, basedir, pkgname);
625 * protodir - pathname to package defs directory
634 process_package_dir(const char *pkgname, const char *protodir,
657 (void) strcat(strcat(strcpy(protofile, protodir), "/"), "prototype");
661 protodir), "/"), "prototype"), PROTO_EXT);
669 protodir);
683 read_pkginfo(protodir, &arch, basedir);
685 count += first_pass_prototype(protofile, protodir, list, arch,
687 count += second_pass_prototype(protofile, protodir, list, arch,
699 char protodir[MAXPATHLEN];
726 (void) strcat(strcat(strcpy(protodir, dir_name), "/"),
728 if (stat(protodir, &st_buf) < 0) {
729 perror(protodir);
735 "warning: %s not a directory\n", protodir);
743 count += process_package_dir(dp->d_name, protodir, list,