Home
last modified time | relevance | path

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

/titanic_41/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 …]
/titanic_41/usr/src/cmd/lp/lib/forms/
H A Dgetform.c50 getform(char *name, FORM *formp, FALERT *alertp, FILE **align_fp) in getform() argument
134 if (align_fp) { in getform()
142 !(*align_fp = open_lpfile(path, "r", 0)) in getform()
/titanic_41/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);