Searched refs:fp_in (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/lp/filter/postscript/common/
H A Drequest.c129 FILE *fp_in; local
142 if ( (fp_in = fopen(file, "r")) != NULL ) {
143 while ( fgets(buf, sizeof(buf), fp_in) != NULL )
145 while ( fgets(buf, sizeof(buf), fp_in) != NULL )
151 fclose(fp_in);
/illumos-gate/usr/src/cmd/lp/filter/postscript/download/
H A Ddownload.c113 FILE *fp_in = stdin; /* next input file */ variable
379 fp_in = stdin;
380 else if ( (fp_in = fopen(*argv, "r")) == NULL )
383 if ( fp_in != stdin )
384 fclose(fp_in);
426 * we stop reading fp_in after the header.
431 if ( fp_in == stdin ) {
440 while ( fgets(buf, sizeof(buf), fp_in) != NULL ) {
509 * by download(). Then copy fp_in, but only seek to the start if it's not stdin.
519 if ( fp_in !
[all...]
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Dpictures.c108 FILE *fp_in; /* for *name */ local
157 if ( (fp_in = picopen(name)) == NULL ) {
194 ps_include(fp_in, tf, page, whiteout, outline, scaleboth,
201 fclose(fp_in);
303 piccopy(FILE *fp_in, FILE *fp_out, long total) argument
304 /* fp_in - input */
313 * Copies total bytes from file fp_in to fp_out. Used to append picture files to
321 if ( putc(getc(fp_in), fp_out) == EOF )
H A Ddpost.c2765 FILE *fp_in; /* PostScript font name read from here */ local
2786 if ( (fp_in = fopen(temp, "r")) != NULL ) {
2788 if ( fscanf(fp_in, "%s", temp) == 1 ) {
2797 fclose(fp_in);
/illumos-gate/usr/src/cmd/lp/filter/postscript/postprint/
H A Dpostprint.c144 FILE *fp_in = stdin; /* read from this file */ variable
536 fp_in = stdin;
537 else if ( (fp_in = fopen(*argv, "r")) == NULL )
540 if ( fp_in != stdin )
541 fclose(fp_in);
618 * Translates *fp_in into PostScript. All we do here is handle newlines, tabs,
630 while ( (ch = getc(fp_in)) != EOF )
722 if ( ungetc(getc(fp_in), fp_in) == EOF )
799 } while ( ch = getc(fp_in) ); /* i
[all...]

Completed in 683 milliseconds