Searched refs:ifile (Results 1 - 25 of 30) sorted by relevance

12

/opensolaris-onvv-gate/usr/src/cmd/eqn/
H A Dglob.c31 int ifile; variable
H A De.h56 extern int ifile; /* input file number */
H A Dlex.c51 if (++ifile > svargc) {
61 * open file indexed by ifile in svargv, return non zero if fail
66 if (strcmp(svargv[ifile], "-") == 0) {
69 } else if ((curfile = fopen(svargv[ifile], "r")) != NULL) {
72 error(FATAL, gettext("can't open file %s"), svargv[ifile]);
H A Dio.c68 * eqnreg, svargv[ifile], eqline, linect);
235 ifile = 1;
267 svargv[ifile], eqline, linect);
273 svargv[ifile], eqline, linect);
/opensolaris-onvv-gate/usr/src/cmd/mdb/tools/setdynflag/common/
H A Dsetdynflag.c85 set_flag(char *ifile, ulong_t flval) argument
96 if ((fd = open(ifile, O_RDWR)) < 0)
97 die("Can't open %s", ifile);
100 elfdie("Can't start ELF for %s", ifile);
103 die("Can't find .dynamic section in %s\n", ifile);
131 "field\n", ifile);
135 elfdie("Couldn't update %s with changes", ifile);
/opensolaris-onvv-gate/usr/src/cmd/tbl/
H A Dt0.c57 char *ifile = "Input"; variable
H A Dt1.c134 tabin = fopen(ifile= *sargv, "r");
138 fprintf(tabout, ".ds f. %s\n",ifile);
H A Dt..c69 extern char *last, *ifile;
H A Dte.c27 (void) fprintf(stderr, gettext("\n%s: line %d: %s\n"), ifile, iline, s);
H A Dt6.c200 ".if t .if \\n(TW>\\n(.li .tm Table at line %d file %s is too wide - \\n(TW units\n", iline-1, ifile);
/opensolaris-onvv-gate/usr/src/cmd/sgs/m4/common/
H A Dm4ext.c69 FILE *ifile[10] = {stdin}; /* stack */ variable
H A Dm4.c103 ifile[ifx] = m4open(&argv, "r", &argc);
114 (void) fclose(ifile[ifx]);
140 if (ifile[ifx] != stdin)
141 (void) fclose(ifile[ifx]);
144 ifile[ifx] = m4open(&argv, "r", &argc);
146 ifile[ifx] = stdin;
946 C = (wchar_t)(feof(ifile[ifx]) ?
947 WEOF : (wint_t)getc(ifile[ifx]));
1127 fp = ifile[idx];
1173 return (ibuffer[idx].nbytes == 0 && feof(ifile[id
[all...]
H A Dm4.h103 extern FILE *ifile[];
H A Dm4macs.c297 if ((ifile[++ifx] = fopen(wstr2str(ap[1], 0), "r")) == NULL) {
/opensolaris-onvv-gate/usr/src/cmd/bc/
H A Dbc.y460 int ifile; /* current index into sargv */
710 if (++ifile >= sargc) {
711 if (ifile >= sargc+1)
719 if ((in = fopen(sargv[ifile], "r")) != NULL) {
721 ss = sargv[ifile];
725 sargv[ifile]);
797 if (ifile >= sargc)
863 ifile = 0;
/opensolaris-onvv-gate/usr/src/cmd/troff/
H A Dnii.c97 int ifile; variable
H A Dext.h104 extern int ifile;
/opensolaris-onvv-gate/usr/src/cmd/fm/fmdump/common/
H A Dfmdump.c1165 char *ifile = NULL; local
1324 if ((ifile = calloc(1, PATH_MAX)) == NULL)
1327 ifile = ifiles[0];
1332 if (*ifile == '\0') {
1348 (void) snprintf(ifile, PATH_MAX, "%s/var/fm/fmd/%slog%s",
1356 rotated_logs = get_rotated_logs(ifile);
1365 if ((lp = fmd_log_open(FMD_LOG_VERSION, ifile, &err)) == NULL) {
1366 fmdump_fatal("failed to open %s: %s\n", ifile,
1386 fmdump_fatal("failed to seek %s: %s\n", ifile,
1420 "log of type %s: %s\n", fmd_log_label(lp), ifile);
[all...]
/opensolaris-onvv-gate/usr/src/cmd/dd/
H A Ddd.c148 static char *ifile; /* input file name pointer */ variable
527 ifile = string;
787 if (ifile)
789 ibf = open(ifile, 0);
794 ifile = "";
800 (void) fprintf(stderr, "dd: %s: ", ifile);
/opensolaris-onvv-gate/usr/src/cmd/sgs/libld/common/
H A Dsunwmove.c176 Ifl_desc *ifile = isp->is_file; local
180 DBG_CALL(Dbg_move_input(ofl->ofl_lml, ifile->ifl_name));
286 isc = ifile->ifl_isdesc[ sym->st_shndx];
H A Dsupport.c231 ld_sup_file(Ofl_desc *ofl, const char *ifile, const Elf_Kind ekind, int flags, argument
248 support[LDS_FILE].sup_name, LDS_FILE, ifile));
249 (*flp->fl_fptr)(ifile, ekind, _flags, elf);
/opensolaris-onvv-gate/usr/src/lib/libpp/common/
H A Dpplex.c2390 char* ifile; local
2408 while (ifile = sfgetr(sfstdin, '\n', 1))
2410 if (!(ofile = strchr(ifile, ' ')))
2411 error(3, "%s: pool output file expected", ifile);
2423 if (open(ifile, O_RDONLY))
2424 error(ERROR_SYSTEM|3, "%s: cannot read", ifile);
2429 pathcanon(ifile, 0);
2430 ifile = ppsetfile(ifile)->name;
2439 PUSH_FILE(ifile,
[all...]
/opensolaris-onvv-gate/usr/src/cmd/dc/
H A Ddc.h99 int ifile; variable
/opensolaris-onvv-gate/usr/src/cmd/diff/
H A Ddiff.c1857 filename(char **pa1, char **pa2, struct stat *st, char **ifile) argument
1865 *ifile = strdup("-");
1867 *ifile = strdup(*pa1);
1869 if (*ifile == (char *)NULL) {
1885 *ifile = strdup(*pa1);
1887 if (*ifile == (char *)NULL) {
/opensolaris-onvv-gate/usr/src/cmd/smbios/
H A Dsmbios.c1175 const char *ifile = NULL; local
1228 if (ifile != NULL) {
1233 ifile = argv[optind++];
1237 if ((shp = smbios_open(ifile, SMB_VERSION, oflags, &err)) == NULL) {

Completed in 204 milliseconds

12