Searched refs:infile (Results 51 - 74 of 74) sorted by relevance

123

/illumos-gate/usr/src/cmd/sendmail/src/
H A Dmime.c1259 ** infile -- input (encoded) string
1265 ** -1 if infile completely decoded into outfile
1266 ** >= 0 is the position in infile decoding
1271 mime_fromqp(infile, outfile, maxlen)
1272 unsigned char *infile;
1284 b = infile;
1285 while ((c1 = *infile++) != '\0' && nchar < maxlen)
1289 if ((c1 = *infile++) == '\0')
1301 if ((c2 = *infile++) == '\0')
1324 return (infile
[all...]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dippool.c322 int loadpoolfile(argc, argv, infile)
324 char *argv[], *infile;
328 infile = optarg;
373 if (ippool_parsefile(fd, infile, ioctl) != 0)
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dexec.c282 char *infile; local
485 infile = 0;
496 infile = makereqerr(request);
512 infile = 0;
519 if (infile) {
520 if (Open(infile, O_RDONLY) == -1)
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dmacro.c255 * Expand here document which is stored in <infile> or <string>
258 void sh_machere(Shell_t *shp,Sfio_t *infile, Sfio_t *outfile, char *string) argument
277 if(infile)
278 fcfopen(infile);
H A Dio.c1353 register Sfio_t *infile = 0, *outfile; local
1368 infile = subopen(shp,shp->heredocs,iop->iooffset,iop->iosize);
1379 sfmove(infile,outfile,SF_UNBOUND,-1);
1380 sfclose(infile);
1385 sh_machere(shp,infile,outfile,iop->ioname);
1387 if(infile)
1388 sfclose(infile);
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dtrace.c182 char infile[MAXLINE], local
194 (void) snprintf(infile, sizeof (infile), "%s", filename);
/illumos-gate/usr/src/cmd/sgs/yacc/common/
H A Dy2.c59 char *infile; /* input file name */ variable
331 if ((finput = fopen(infile = argv[optind], "r")) == NULL)
836 lineno, infile);
1321 (void) fprintf(ftable, "\n# line %d \"%s\"\n", lineno, infile);
1380 (void) fprintf(ftable, "\n# line %d \"%s\"\n", lineno, infile);
1448 (void) fprintf(faction, "\n# line %d \"%s\"\n", lineno, infile);
H A Dy1.c490 extern char *infile;
505 (void) fprintf(stderr, "\"%s\", ", infile);
531 extern char *infile;
535 (void) fprintf(stderr, "\"%s\", ", infile);
/illumos-gate/usr/src/cmd/compress/
H A Dcompress.c253 static FILE *infile; /* disk-based input stream */ variable
527 if ((infile = fopen("/dev/null", "r")) == NULL) {
556 inp = infile;
678 inp = infile;
/illumos-gate/usr/src/uts/i86pc/cpu/scripts/
H A Dao_gendisp.pl55 print STDERR "$PROGNAME: $::infile: $.: ", join(" ", @_), "\n";
406 my $infile = $ARGV[0];
407 open(INFILE, "<$infile") || &bail("failed to open $infile: $!");
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c615 init_interactive(FILE *infile, CplMatchFn *match_fn) argument
617 if (infile == stdin) {
657 do_getstr(FILE *infile, char *prompt, char *ibuf, size_t ibuf_size) argument
661 if (infile != stdin)
662 return (fgets(ibuf, ibuf_size, infile));
695 do_interactive(FILE *infile, char *configfile, char *promptstring, argument
711 init_interactive(infile, match_fn);
713 while ((s = do_getstr(infile, promptstring, ibuf, IBUF_SIZE)) != NULL) {
724 if (infile == stdin) {
825 if (infile
[all...]
/illumos-gate/usr/src/lib/libcmd/common/
H A Dtail.c201 pipetail(Sfio_t* infile, Sfio_t* outfile, Sfoff_t number, int delim) argument
216 while ((n = sfmove(infile, out, number, delim)) > 0)
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipseckey.c172 gettext("\tipseckey [ -nvp ] -f infile\n"));
3579 FILE *infile = stdin, *savefile; local
3640 infile = fopen(optarg, "r");
3641 if (infile == NULL) {
3656 if (fstat(fileno(infile), &sbuf) == -1) {
3657 (void) fclose(infile);
3663 (void) fclose(infile);
3730 if (infile != stdin || argc == 0) {
3732 do_interactive(infile, configfile, "ipseckey> ", my_fmri,
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Dsys.c621 state.file.infile);
623 elfedit_printf(MSG_INTL(MSG_HLPFMT_INFILE), state.file.infile);
H A Delfedit.c2550 * Copy infile to a new file with the name given by outfile.
2553 create_outfile(const char *infile, const char *outfile) argument
2573 MSG_ORIG(MSG_STR_BINCP), infile, outfile, NULL); local
3560 state.file.infile = argv[optind];
3562 state.file.outfile = state.file.infile;
3569 state.file.infile);
3572 create_outfile(state.file.infile, state.file.outfile);
3575 state.file.infile, state.file.outfile);
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_dictionary.cc1013 db_dictionary::copyfile(char *infile, char *outfile) argument
1026 dbase = find_table(infile, &tbl, TRUE, TRUE, FALSE);
1030 dbase = find_table(infile, &tbl, TRUE, TRUE, TRUE);
1038 dbase = find_table(infile, &tbl, TRUE, TRUE, FALSE);
H A Dnis_db.cc207 db_copy_file(char *infile, char *outfile) argument
209 return (InUseDictionary->copyfile(infile, outfile));
/illumos-gate/usr/src/tools/cscope-fast/
H A Dinvlib.c102 invmake(char *invname, char *invpost, FILE *infile) argument
175 while (fgets(line, LINEMAX, infile) != NULL) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/
H A Dnwamcfg.c4211 FILE *infile; local
4222 if ((infile = fopen(file, "r")) == NULL) {
4227 if ((err = fstat(fileno(infile), &statbuf)) != 0) {
4250 yyin = infile;
4268 (void) fclose(infile);
/illumos-gate/usr/src/cmd/zic/
H A Dzic.c109 static void infile(const char *filename);
553 infile(leapsec);
559 infile(argv[i]);
817 infile(name) function
1208 if (strcmp(cp, "") == 0) { /* infile() turns "-" into "" */
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c1822 int infile = -1; /* deliberately invalid */ local
2311 if ((infile = openat(dirfd, shortname, 0)) < 0) {
2325 (void) close(infile);
2337 splitfile(longname, infile,
2340 (void) close(infile);
2389 read(infile, bigbuf, min((hint*TBLOCK), maxread))) > 0) &&
2399 (void) close(infile);
2430 splitfile(longname, infile, name,
2433 (void) close(infile);
2478 splitfile(longname, infile, nam
[all...]
/illumos-gate/usr/src/tools/scripts/
H A Dwebrev.sh600 # strip_unchanged <infile> | output_cmd
997 infile=$1
1041 $PERL /tmp/$$.crmerge.pl < $infile
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg.c7388 FILE *infile; local
7399 if ((infile = fopen(file, "r")) == NULL) {
7404 if ((err = fstat(fileno(infile), &statbuf)) != 0) {
7415 yyin = infile;
7430 (void) fclose(infile);
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c2056 FILE *infile; local
2067 if ((infile = fopen(path, "rb")) == NULL) {
2084 while ((ret = fread(buf, 1, sizeof (buf), infile)) > 0) {
2100 (void) fclose(infile);

Completed in 207 milliseconds

123