Home
last modified time | relevance | path

Searched refs:fin (Results 1 – 25 of 69) sorted by path

123

/illumos-gate/usr/src/cmd/bnu/
H A Duuxqt.c833 char fin[MAXFULLNAME]; local
862 (void) strcpy(fin, "/dev/null");
894 (void) sscanf(&buf[1], "%256s", fin);
895 expfile(fin);
896 if (chkpth(fin, CK_READ)) {
897 DEBUG(4, "badfile - in: %s\n", fin);
992 DEBUG(4, "fin - %s, ", fin);
1110 retosndr(user, Rmtname, return_stdin ? fin : "",
1134 ret = shio(_Cmd, fin, dfile, errDfile);
1286 retosndr(user, Rmtname, return_stdin ? fin : "",
/illumos-gate/usr/src/cmd/checkeq/
H A Dcheckeq.c22 static FILE *fin; variable
37 if ((fin = fopen(*++argv, "r")) == NULL) { in main()
42 check(fin); in main()
43 (void) fclose(fin); in main()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.c746 FILE *fin, *dout = 0; in sendrequest() local
787 fin = stdin; in sendrequest()
791 if (fin == NULL) { in sendrequest()
802 if (fin == NULL) { in sendrequest()
816 (void) fclose(fin); in sendrequest()
827 (*closefunc)(fin); in sendrequest()
838 (*closefunc)(fin); in sendrequest()
845 (*closefunc)(fin); in sendrequest()
950 if (ferror(fin)) in sendrequest()
966 (*closefunc)(fin); in sendrequest()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dgram.y187 extern FILE *fin;
198 switch (c = getc(fin)) { in yylex()
227 if ((c = getc(fin)) == '>') in yylex()
229 ungetc(c, fin); in yylex()
241 c = getc(fin); in yylex()
245 if ((c = getc(fin)) == EOF) { in yylex()
263 if ((c = getc(fin)) == ':') in yylex()
265 ungetc(c, fin); in yylex()
276 if ((c = getc(fin)) != EOF) { in yylex()
285 c = getc(fin); in yylex()
[all …]
H A Dmain.c43 FILE *fin = NULL; /* input file pointer */ variable
199 fin = stdin;
383 if (fin == NULL) {
385 if ((fin = fopen("distfile", "r")) == NULL)
386 fin = fopen("Distfile", "r");
388 fin = fopen(distfile, "r");
389 if (fin == NULL) {
/illumos-gate/usr/src/cmd/compress/
H A Dcompress.c983 FILE *fin = inp; in compress() local
1009 if ((ent = getc(fin)) == EOF && ferror(fin)) { in compress()
1025 while ((c = getc(fin)) != EOF) { in compress()
1088 if (ferror(fin) != 0) { in compress()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/ip/
H A Dtst.localtcpstate.ksh.out10 tcp:::state-change to fin-wait-1 - yes
12 tcp:::state-change to fin-wait-2 - yes
H A Dtst.remotetcpstate.ksh.out9 tcp:::state-change to fin-wait-1 - yes
11 tcp:::state-change to fin-wait-2 - yes
/illumos-gate/usr/src/cmd/genmsg/
H A Dutil.c708 FILE *fin, *fout; in file_copy() local
719 if ((fin = fopen(in, "r")) == NULL) { in file_copy()
731 while ((c = getc(fin)) != EOF) in file_copy()
734 (void) fclose(fin); in file_copy()
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dip_fil.c769 fr_info_t *fin;
773 ip_t *ip = fin->fin_ip;
793 int fr_send_reset(fin) in fr_send_reset() argument
794 fr_info_t *fin; in fr_send_reset()
803 fr_info_t *fin;
877 u_32_t fr_newisn(fin) in fr_newisn() argument
878 fr_info_t *fin; in fr_newisn()
895 MD5Update(&ctx, (u_char *) &fin->fin_dat, sizeof(fin->fin_dat));
924 fr_info_t *fin; in fr_nextipid()
939 fr_info_t *fin; in fr_checkv4sum()
[all …]
/illumos-gate/usr/src/cmd/look/
H A Dwords8704 fin
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Ddpost.c1334 int fin; /* for reading the DESC.out file */ in fontinit() local
1358 if ( (fin = open(temp, 0)) < 0 ) in fontinit()
1361 read(fin, &dev, sizeof(struct dev)); in fontinit()
1371 read(fin, filebase, dev.filesize); /* all at once */ in fontinit()
1372 close(fin); in fontinit()
1399 int fin; /* for reading *s.out file */ in loadfont() local
1424 if ( (fin = open(temp, 0)) < 0 ) { in loadfont()
1426 if ( (fin = open(temp, 0)) < 0 ) in loadfont()
1437 read(fin, fontbase[n], fsize); in loadfont()
1438 close(fin); in loadfont()
H A Dps_include.c122 fseek(fin, 0L, 0); in ps_include()
129 page.start = ftell(fin); in ps_include()
134 page.end = ftell(fin); in ps_include()
139 page.end = ftell(fin); in ps_include()
163 fseek(fin, 0L, 2); in ps_include()
166 trailer.end = ftell(fin); in ps_include()
176 copy(fin, fout, &prolog); in ps_include()
179 copy(fin, fout, &page); in ps_include()
180 copy(fin, fout, &trailer); in ps_include()
200 fseek(fin, s->start, 0); in copy()
[all …]
/illumos-gate/usr/src/cmd/lp/filter/postscript/font/
H A Dmakedev.c127 FILE *fin; in main() local
141 skipline(fin); in main()
143 fscanf(fin, "%hd", &dev.res); in main()
145 fscanf(fin, "%hd", &dev.hor); in main()
168 fscanf(fin, "%s", fname[i]); in main()
224 FILE *fin; in dofont() local
246 skipline(fin); in dofont()
256 font.ligfont = getlig(fin); in dofont()
261 skipline(fin); in dofont()
314 fclose(fin); in dofont()
[all …]
/illumos-gate/usr/src/cmd/mailx/
H A Dnames.c208 FILE *fout, *fin; in outof() local
309 fin = Fdopen(image, "r"); in outof()
310 if (fin == NULL) { in outof()
317 rewind(fin); in outof()
319 putc(getc(fin), fout); in outof()
320 while (fgets(line, sizeof (line), fin)) { in outof()
326 while ((c = getc(fin)) != EOF) in outof()
334 fclose(fin); in outof()
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/t/
H A DLgrp.t96 my $fin = lgrp_fini($c);
97 ok($fin);
100 $fin = lgrp_fini($c);
101 ok($fin, undef, 'lgrp_fini second time should fail');
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_main.c345 fin = fdopen(pd[0], "r"); in open_input()
346 if (fin == NULL) { in open_input()
H A Drpc_scan.c158 if (!fgets(curline, MAXLINESIZE, fin)) { in get_token()
H A Drpc_util.c67 FILE *fin; /* file pointer of current input */ variable
H A Drpc_util.h101 extern FILE *fin;
/illumos-gate/usr/src/cmd/sa/
H A Dsar.c96 static int fin, fout; variable
210 if ((fin = open(flnm, 0)) == -1) in main()
270 fin = pipedes[0]; in main()
298 if (lseek(fin, 0, SEEK_SET) == (off_t)-1) in main()
345 if (!input_pipe && fstat(fin, &in_stat) == -1) in prpass()
351 while (safe_read(fin, &tx, sizeof (struct sa))) { in prpass()
418 if ((curr_pos = lseek(fin, 0, SEEK_CUR)) == in prpass()
432 if (safe_read(fin, &nxio[i], sizeof (iodevinfo_t)) == 0) in prpass()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dsfsasl.c366 sfdcsasl(fin, fout, conn, tmo) in sfdcsasl() argument
367 SM_FILE_T **fin; in sfdcsasl()
387 info.fp = *fin;
407 sm_io_setinfo(*fin, SM_IO_WHAT_TIMEOUT, &tmo);
410 *fin = newin;
937 sfdctls(fin, fout, con) in sfdctls() argument
938 SM_FILE_T **fin; in sfdctls()
953 info.fp = *fin;
970 *fin = tlsin;
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Dldefs.h186 extern FILE *fin, *fout, *fother, *errorf;
H A Dmain.c134 fin = stdin;
136 fin = fopen(argv[optind], "r");
137 if (fin == NULL)
142 fin = stdin;
H A Donce.h106 FILE *fin, *fother; variable

123