Lines Matching defs:file
4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
72 #define MSG_RDINCLUDE "unable to process include file <%s>, errno=%d"
73 #define MSG_IGNINCLUDE "ignoring include file <%s>"
80 #define ERR_TEMP "unable to obtain temporary file resources, errno=%d"
118 static void pushenv(char *file);
227 break; /* done with file */
325 * Warn if top level file or directory is an install
374 * is an actual search for a real file (which will not end up in the
392 /* looking for local object file */
397 * file. Otherwise, we'll really be writing stuff, so we need
504 * file and makes that available.
588 char file[PATH_MAX];
598 (void) sscanf(temp, "%1024s", file);
600 translate(file, temp);
606 (void) snprintf(file, sizeof (file), "%s/%s", dname[nfp], temp);
608 (void) strlcpy(file, temp, sizeof (file));
610 canonize(file);
611 pushenv(file);
664 pushenv(char *file)
672 logerr(gettext(MSG_IGNINCLUDE), file);
676 if (strcmp(file, "-") == 0) {
678 } else if ((fp = fopen(file, "r")) == NULL) {
680 logerr(gettext(MSG_RDINCLUDE), file, errno);
682 logerr(gettext(MSG_IGNINCLUDE), file);
696 /* upper level proto file */
697 proto[nfp] = file;
698 if (file[0] == '/')
699 pt = strcpy(topdir, file);
701 /* path is relative to the prototype file specified */
708 "%s/%s", pt, file);
716 proto[nfp] = qstrdup(file);
717 dname[nfp] = qstrdup(file);
777 * file directives.
820 continue; /* host source must be a regular file */