Searched refs:align_fp (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/lp/lib/forms/
H A Dgetform.c46 * The FILE **align_fp doesn't need to be changed for scalability, because
50 getform(char *name, FORM *formp, FALERT *alertp, FILE **align_fp) argument
134 if (align_fp) {
142 !(*align_fp = open_lpfile(path, "r", 0))
/illumos-gate/usr/src/cmd/lp/cmd/
H A Dlpforms.c482 FILE * align_fp = 0; local
524 if ((align_fp = tmpfile()) == NULL) {
530 fwrite (buf, 1, n, align_fp);
710 rewind (align_fp);
744 if (putform(fbuf.name, P_FBUF, &alert, &align_fp) == -1) {
773 if (align_fp)
774 close_lpfile (align_fp);
856 FILE * align_fp; local
864 while (getform(form, &fbuf, &alert, &align_fp) == 0) {
866 (*subaction) (&fbuf, &alert, align_fp);
[all...]
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_align.c97 FILE *align_fp, local
112 if (getform(form, (FORM *)0, (FALERT *)0, &align_fp) == -1) {
116 if (!align_fp) {
439 rewind (align_fp);
440 while ((n = fread(buf, 1, BUFSIZ, align_fp)) > 0)
446 fclose (align_fp);

Completed in 75 milliseconds