Home
last modified time | relevance | path

Searched refs:fdprintf (Results 1 – 24 of 24) sorted by relevance

/titanic_41/usr/src/cmd/lp/lib/requests/
H A Dputrequest.c130 (void)fdprintf(fd, "%s%d\n", HEAD, reqbufp->copies);
134 (void)fdprintf(fd, "%s%s\n", HEAD, reqbufp->destination);
139 (void)fdprintf(fd, "%s%s\n", HEAD, *pp);
144 (void)fdprintf(fd, "%s%s\n", HEAD, reqbufp->form);
149 (void)fdprintf(fd, "%s%s\n", HEAD, NAME_IMMEDIATE);
151 (void)fdprintf(fd, "%s%s\n", HEAD, NAME_RESUME);
153 (void)fdprintf(fd, "%s%s\n", HEAD, NAME_HOLD);
158 (void)fdprintf(fd, "%sM\n", HEAD);
160 (void)fdprintf(fd, "%sW\n", HEAD);
162 (void)fdprintf(fd, "%sN\n", HEAD);
[all …]
/titanic_41/usr/src/cmd/troff/troff.d/
H A Dt10.c167 fdprintf(ptid, "x T %s\n", devname); in ptinit()
168 fdprintf(ptid, "x res %d %d %d\n", Inch, Hor, Vert); in ptinit()
169 fdprintf(ptid, "x init\n"); /* do initialization for particular device */ in ptinit()
280 fdprintf(ptid, "n%d %d\n", b, a); /* be nice to chuck */
314 fdprintf(ptid, "x X ");
331 fdprintf(ptid, "x H %d\n", sbits(i));
335 fdprintf(ptid, "x S %d\n", sfbits(i)-180);
403 fdprintf(ptid, "D%c %d\n", DRAWCIRCLE, dx); /* dx is diameter */
408 fdprintf(ptid, "D%c %d %d\n", DRAWELLIPSE, dx, dy);
414 fdprintf(ptid, "D%c %d %d ", DRAWLINE, dx, dy);
[all …]
/titanic_41/usr/src/cmd/lp/cmd/lpsched/
H A Dnotify.c122 fdprintf(fd, N_Msg[0], prs->secure->req_id, prs->secure->req_id, in notify()
131 fdprintf(fd, "\nThe job title was:\t%s\n", file); in notify()
132 fdprintf(fd, " submitted by:\t%s\n", in notify()
134 fdprintf(fd, " at:\t%s\n", in notify()
139 fdprintf(fd, N_Msg[1], prs->printer->printer->name); in notify()
142 fdprintf(fd, N_Msg[2], in notify()
149 fdprintf(fd, N_Msg[3]); in notify()
151 fdprintf(fd, N_Msg[4], in notify()
155 fdprintf(fd, N_Msg[slow? 5 : 6], e); in notify()
157 fdprintf(fd, N_Msg[slow? 7 : 8], k); in notify()
[all …]
H A Dlog.c133 fdprintf (fd, "%.2d/%.2d %.2d:%.2d:%.2d: ", in log()
137 fdprintf(fd, "bad date: "); in log()
171 fdprintf (fd, "%24.24s: ", ctime(&now)); in execlog()
181 fdprintf(fd, " EX_INTERF %s %s\n", in execlog()
186 fdprintf(fd, " EX_SLOWF %s\n", in execlog()
190 fdprintf(fd, " EX_ALERT %s\n", in execlog()
194 fdprintf(fd, " EX_FAULT_MESSAGE %s\n", in execlog()
198 fdprintf(fd, " EX_FORM_MESSAGE %s\n", in execlog()
202 fdprintf(fd, " EX_FALERT %s\n", in execlog()
206 fdprintf(fd, " EX_PALERT %s\n", in execlog()
[all …]
H A Dalerts.c158 fdprintf(fd, text); in pformat()
163 fdprintf(fd, Pf_msg[0], NB(pr->printer->name), NB(pr->printer->name)); in pformat()
165 fdprintf(fd, Pf_msg[2]); in pformat()
168 fdprintf(fd, Pf_msg[1]); in pformat()
170 fdprintf(fd, Pf_msg[3], rp->secure->req_id); in pformat()
172 fdprintf(fd, Pf_msg[4]); in pformat()
176 fdprintf(fd, "%s", text); in pformat()
189 fdprintf(fd, Pa_msg[0], NB(pp->pwheel->name), NB(pp->pwheel->name)); in pwformat()
198 fdprintf(fd, Pa_msg[1], p->printer->name, n); in pwformat()
201 fdprintf(fd, Pa_msg[2], pp->requests); in pwformat()
[all …]
H A Dstatus.c580 (void)fdprintf(fd, "+%s\n", STATUS_BREAK); in dump_pstatus()
583 (void)fdprintf(fd, "%s\n", in dump_pstatus()
587 (void)fdprintf(fd, "%s %s\n", in dump_pstatus()
594 (void)fdprintf(fd, "%ld %ld\n", pps->dis_date, in dump_pstatus()
604 (void)fdprintf(fd, "%s\n", in dump_pstatus()
610 (void)fdprintf(fd, "%s\n", (list ? list : "")); in dump_pstatus()
638 fdprintf(fd, "%s\n", pps->fault_reason); in dump_fault_status()
672 (void)fdprintf(fd, "%s\n", STATUS_BREAK); in dump_cstatus()
675 (void)fdprintf(fd, "%s\n", in dump_cstatus()
679 (void)fdprintf(fd, "%s\n", in dump_cstatus()
[all …]
H A Dfiles.c156 fdprintf(fd, "= %s, uid %u, gid %u, size %ld, %s\n", in rmfiles()
160 fdprintf(fd, "x %s\n", rp->slow); in rmfiles()
162 fdprintf(fd, "y %s\n", rp->fast); in rmfiles()
164 fdprintf(fd, "z %s\n", rp->printer->printer->name); in rmfiles()
/titanic_41/usr/src/cmd/lp/lib/filters/
H A Ddumpfilters.c76 (void)fdprintf (fd, "%s%s", FL_SEP, p); in dumpfilters()
82 String: (void)fdprintf (fd, "%s%s", FL_SEP, (p? p : "")); in dumpfilters()
85 (void)fdprintf(fd, "%s%s", FL_SEP, in dumpfilters()
96 Types: (void)fdprintf(fd, "%s", FL_SEP); in dumpfilters()
100 (void)fdprintf(fd, "%s%s", sep, in dumpfilters()
105 (void)fdprintf(fd, "%s", NAME_ANY); in dumpfilters()
108 (void)fdprintf(fd, "%s", FL_SEP); in dumpfilters()
112 (void)fdprintf(fd, "%s", NAME_ANY); in dumpfilters()
115 (void)fdprintf(fd, "%s", FL_SEP); in dumpfilters()
119 (void)fdprintf(fd, "%s%s ", sep, in dumpfilters()
[all …]
/titanic_41/usr/src/cmd/lp/lib/forms/
H A Dwrform.c96 fdprintf(fd, "%s %d\n", HEAD, formp->np); in wrform()
100 fdprintf(fd, "%s %s", HEAD, formp->chset); in wrform()
102 fdprintf(fd, ",%s", MANSTR); in wrform()
103 fdprintf(fd, "\n"); in wrform()
112 fdprintf(fd, "%s\n", HEAD); in wrform()
120 fdprintf(fd, "%s\n", cp); in wrform()
135 fdprintf(fd, "%s %s", HEAD, formp->paper); in wrform()
137 fdprintf(fd, ",%s", DFTSTR); in wrform()
138 fdprintf(fd, "\n"); in wrform()
194 (void)fdprintf(fd, "%s ", head); in print_sdn()
[all …]
/titanic_41/usr/src/cmd/lp/lib/secure/
H A Dsecure.c179 (void)fdprintf(fd, "%s\n", secbufp->req_id); in putsecure()
183 (void)fdprintf(fd, "%u\n", secbufp->uid); in putsecure()
187 (void)fdprintf(fd, "%s\n", secbufp->user); in putsecure()
191 (void)fdprintf(fd, "%u\n", secbufp->gid); in putsecure()
195 (void)fdprintf(fd, "%lu\n", secbufp->size); in putsecure()
199 (void)fdprintf(fd, "%ld\n", secbufp->date); in putsecure()
216 (void) fdprintf(fd, "%s\n", in putsecure()
219 (void) fdprintf(fd, "none\n"); in putsecure()
222 (void) fdprintf(fd, "%s\n", secbufp->slabel); in putsecure()
/titanic_41/usr/src/cmd/lp/lib/lp/
H A Dalerts.c188 fdprintf(fdout, newline); in putalert()
194 fdprintf (fdout, "%s", cur_dir); in putalert()
198 fdprintf (fdout, "%ld", ulimit(1, (long)0)); in putalert()
203 fdprintf (fdout, "%03o", cur_umask); in putalert()
207 fdprintf(fdout, "%ld", (long)alertp->W); in putalert()
211 fdprintf(fdout, newline); in putalert()
212 fdprintf(fdout, "%s\n", ALRT_CMDSTART); in putalert()
213 fdprintf(fdout, "%s\n", alertp->shcmd); in putalert()
214 fdprintf(fdout, "%s\n", ALRT_CMDEND); in putalert()
218 fdprintf(fdout, "%s", getname()); in putalert()
[all …]
H A Dprintlist.c100 (void)fdprintf (fd, "%s%s", sep, NB(print_prefix)); in fdprintlist()
104 (void)fdprintf (fd, "%s", *list); in fdprintlist()
106 (void)fdprintf (fd, "%s", NB(print_suffix)); in fdprintlist()
111 (void)fdprintf (fd, print_newline); in fdprintlist()
H A Dsdn.c92 (void)fdprintf (fd, "%s", NB(print_prefix)); in fdprintsdn()
122 (void)fdprintf(fd, "%s", dec); in fdprintsdn()
125 (void)fdprintf(fd, "%.3f", sdn.val); in fdprintsdn()
130 (void)fdprintf(fd, "%s%s", NB(print_suffix), NB(print_newline)); in fdprintsdn()
H A Dfiles.c80 fdprintf(int fd, char *fmt, ...) in fdprintf() function
111 return (fdprintf(fd, "%s", buf)); in fdputs()
329 fdprintf(fd, "%s\n", str); in dumpstring()
H A Dllib-llp55 extern int fdprintf(int, char *, ...);
/titanic_41/usr/src/cmd/lp/lib/users/
H A Dstorepri.c73 fdprintf(fd, "%d\n%d:\n", ppri_tbl->deflt, ppri_tbl->deflt_limit); in output_tbl()
78 fdprintf(fd, "%d:", limit); in output_tbl()
/titanic_41/usr/src/cmd/troff/
H A Dn1.c78 extern void fdprintf(int, char *, ...);
271 fdprintf(stderr, "loop: NL=%d, ejf=%d, lss=%d, eileenct=%d\n", in main()
474 fdprintf(stderr, "%s: ", progname);
475 fdprintf(stderr, s, s1, s2, s3, s4, s5);
477 fdprintf(stderr, gettext("; line %d, file %s"), numtab[CD].val,
479 fdprintf(stderr, "\n");
501 fdprintf(int fd, char *fmt, ...) in fdprintf() function
680 fdprintf(stderr, "control: macro %c%c, contab[%d]\n",
743 fdprintf(stderr, "getch: ch is %x (%c)\n", in getch()
755 fdprintf(stderr,"getch: nlflg is %x\n", nlflg); in getch()
[all …]
H A Dn3.c453 fdprintf(stderr, "alloc: "); in alloc()
458 fdprintf(stderr, "oldmn %d %c%c, ", oldmn, cc1, cc2); in alloc()
460 fdprintf(stderr, "newmn %d; nextb was %x, will be %x\n", in alloc()
1031 fdprintf(stderr, "%s %d\n", pmline, k); in casepm()
1034 fdprintf(stderr, "pm: total %d, macros %d, space %d\n", tcnt, cnt, kk); in casepm()
1046 fdprintf(stderr, "%c%c ", p->mname&0177, (p->mname>>BYTE)&0177); in stackdump()
1047 fdprintf(stderr, "\n"); in stackdump()
H A Dn5.c519 fdprintf(stderr, "%s", tmbuf);
865 fdprintf(stderr, "\007"); /*bell*/ in caserd()
868 fdprintf(stderr, "%s:", nextf); in caserd()
870 fdprintf(stderr, "\007"); /*bell*/ in caserd()
H A Dn2.c146 fdprintf(ptid, "%c", j);
/titanic_41/usr/src/cmd/lp/lib/printers/
H A Dputprinter.c342 (void)fdprintf(fdout, "%s %s\n", HEAD, ptr); in putprinter()
389 (void)fdprintf(fdout, "%s\n", HEAD); in putprinter()
509 (void)fdprintf (fd, "%s ", head); in print_sdn()
518 (void)fdprintf (fd, "%s ", head); in print_l()
532 (void)fdprintf (fd, "%s %s\n", head, str); in print_str()
H A Ddefault.c64 fdprintf(fd, "%s\n", dflt); in putdefault()
/titanic_41/usr/src/cmd/lp/lib/access/
H A Ddumpaccess.c95 fdprintf (fd, "%s\n", *pl); in _dumpaccess()
/titanic_41/usr/src/cmd/lp/include/
H A Dlp.h384 extern int fdprintf(int, char *, ...);