Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/lp/lib/requests/
H A Dputrequest.c128 (void)fdprintf(fd, "%s%d\n", HEAD, reqbufp->copies);
132 (void)fdprintf(fd, "%s%s\n", HEAD, reqbufp->destination);
137 (void)fdprintf(fd, "%s%s\n", HEAD, *pp);
142 (void)fdprintf(fd, "%s%s\n", HEAD, reqbufp->form);
147 (void)fdprintf(fd, "%s%s\n", HEAD, NAME_IMMEDIATE);
149 (void)fdprintf(fd, "%s%s\n", HEAD, NAME_RESUME);
151 (void)fdprintf(fd, "%s%s\n", HEAD, NAME_HOLD);
156 (void)fdprintf(fd, "%sM\n", HEAD);
158 (void)fdprintf(fd, "%sW\n", HEAD);
160 (void)fdprintf(fd, "%sN\n", HEAD);
[all …]
/illumos-gate/usr/src/cmd/troff/troff.d/
H A Dt10.c165 fdprintf(ptid, "x T %s\n", devname); in ptinit()
166 fdprintf(ptid, "x res %d %d %d\n", Inch, Hor, Vert); in ptinit()
167 fdprintf(ptid, "x init\n"); /* do initialization for particular device */ in ptinit()
278 fdprintf(ptid, "n%d %d\n", b, a); /* be nice to chuck */
312 fdprintf(ptid, "x X ");
329 fdprintf(ptid, "x H %d\n", sbits(i));
333 fdprintf(ptid, "x S %d\n", sfbits(i)-180);
401 fdprintf(ptid, "D%c %d\n", DRAWCIRCLE, dx); /* dx is diameter */
406 fdprintf(ptid, "D%c %d %d\n", DRAWELLIPSE, dx, dy);
412 fdprintf(ptid, "D%c %d %d ", DRAWLINE, dx, dy);
[all …]
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dnotify.c119 fdprintf(fd, N_Msg[0], prs->secure->req_id, prs->secure->req_id, in notify()
128 fdprintf(fd, "\nThe job title was:\t%s\n", file); in notify()
129 fdprintf(fd, " submitted by:\t%s\n", in notify()
131 fdprintf(fd, " at:\t%s\n", in notify()
136 fdprintf(fd, N_Msg[1], prs->printer->printer->name); in notify()
139 fdprintf(fd, N_Msg[2], in notify()
146 fdprintf(fd, N_Msg[3]); in notify()
148 fdprintf(fd, N_Msg[4], in notify()
152 fdprintf(fd, N_Msg[slow? 5 : 6], e); in notify()
154 fdprintf(fd, N_Msg[slow? 7 : 8], k); in notify()
[all …]
H A Dlog.c130 fdprintf (fd, "%.2d/%.2d %.2d:%.2d:%.2d: ", in log()
134 fdprintf(fd, "bad date: "); in log()
168 fdprintf (fd, "%24.24s: ", ctime(&now)); in execlog()
178 fdprintf(fd, " EX_INTERF %s %s\n", in execlog()
183 fdprintf(fd, " EX_SLOWF %s\n", in execlog()
187 fdprintf(fd, " EX_ALERT %s\n", in execlog()
191 fdprintf(fd, " EX_FAULT_MESSAGE %s\n", in execlog()
195 fdprintf(fd, " EX_FORM_MESSAGE %s\n", in execlog()
199 fdprintf(fd, " EX_FALERT %s\n", in execlog()
203 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.c154 fdprintf(fd, "= %s, uid %u, gid %u, size %ld, %s\n", in rmfiles()
158 fdprintf(fd, "x %s\n", rp->slow); in rmfiles()
160 fdprintf(fd, "y %s\n", rp->fast); in rmfiles()
162 fdprintf(fd, "z %s\n", rp->printer->printer->name); in rmfiles()
/illumos-gate/usr/src/cmd/lp/lib/filters/
H A Ddumpfilters.c74 (void)fdprintf (fd, "%s%s", FL_SEP, p); in dumpfilters()
80 String: (void)fdprintf (fd, "%s%s", FL_SEP, (p? p : "")); in dumpfilters()
83 (void)fdprintf(fd, "%s%s", FL_SEP, in dumpfilters()
94 Types: (void)fdprintf(fd, "%s", FL_SEP); in dumpfilters()
98 (void)fdprintf(fd, "%s%s", sep, in dumpfilters()
103 (void)fdprintf(fd, "%s", NAME_ANY); in dumpfilters()
106 (void)fdprintf(fd, "%s", FL_SEP); in dumpfilters()
110 (void)fdprintf(fd, "%s", NAME_ANY); in dumpfilters()
113 (void)fdprintf(fd, "%s", FL_SEP); in dumpfilters()
117 (void)fdprintf(fd, "%s%s ", sep, in dumpfilters()
[all …]
/illumos-gate/usr/src/cmd/lp/lib/forms/
H A Dwrform.c94 fdprintf(fd, "%s %d\n", HEAD, formp->np); in wrform()
98 fdprintf(fd, "%s %s", HEAD, formp->chset); in wrform()
100 fdprintf(fd, ",%s", MANSTR); in wrform()
101 fdprintf(fd, "\n"); in wrform()
110 fdprintf(fd, "%s\n", HEAD); in wrform()
118 fdprintf(fd, "%s\n", cp); in wrform()
133 fdprintf(fd, "%s %s", HEAD, formp->paper); in wrform()
135 fdprintf(fd, ",%s", DFTSTR); in wrform()
136 fdprintf(fd, "\n"); in wrform()
192 (void)fdprintf(fd, "%s ", head); in print_sdn()
[all …]
/illumos-gate/usr/src/cmd/lp/lib/secure/
H A Dsecure.c177 (void)fdprintf(fd, "%s\n", secbufp->req_id); in putsecure()
181 (void)fdprintf(fd, "%u\n", secbufp->uid); in putsecure()
185 (void)fdprintf(fd, "%s\n", secbufp->user); in putsecure()
189 (void)fdprintf(fd, "%u\n", secbufp->gid); in putsecure()
193 (void)fdprintf(fd, "%lu\n", secbufp->size); in putsecure()
197 (void)fdprintf(fd, "%ld\n", secbufp->date); in putsecure()
214 (void) fdprintf(fd, "%s\n", in putsecure()
217 (void) fdprintf(fd, "none\n"); in putsecure()
220 (void) fdprintf(fd, "%s\n", secbufp->slabel); in putsecure()
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dalerts.c187 fdprintf(fdout, newline); in putalert()
193 fdprintf (fdout, "%s", cur_dir); in putalert()
197 fdprintf (fdout, "%ld", ulimit(1, (long)0)); in putalert()
202 fdprintf (fdout, "%03o", cur_umask); in putalert()
206 fdprintf(fdout, "%ld", (long)alertp->W); in putalert()
210 fdprintf(fdout, newline); in putalert()
211 fdprintf(fdout, "%s\n", ALRT_CMDSTART); in putalert()
212 fdprintf(fdout, "%s\n", alertp->shcmd); in putalert()
213 fdprintf(fdout, "%s\n", ALRT_CMDEND); in putalert()
217 fdprintf(fdout, "%s", getname()); in putalert()
[all …]
H A Dprintlist.c98 (void)fdprintf (fd, "%s%s", sep, NB(print_prefix)); in fdprintlist()
102 (void)fdprintf (fd, "%s", *list); in fdprintlist()
104 (void)fdprintf (fd, "%s", NB(print_suffix)); in fdprintlist()
109 (void)fdprintf (fd, print_newline); in fdprintlist()
H A Dsdn.c90 (void)fdprintf (fd, "%s", NB(print_prefix)); in fdprintsdn()
120 (void)fdprintf(fd, "%s", dec); in fdprintsdn()
123 (void)fdprintf(fd, "%.3f", sdn.val); in fdprintsdn()
128 (void)fdprintf(fd, "%s%s", NB(print_suffix), NB(print_newline)); in fdprintsdn()
H A Dfiles.c79 fdprintf(int fd, char *fmt, ...) in fdprintf() function
110 return (fdprintf(fd, "%s", buf)); in fdputs()
328 fdprintf(fd, "%s\n", str); in dumpstring()
/illumos-gate/usr/src/cmd/lp/lib/users/
H A Dstorepri.c71 fdprintf(fd, "%d\n%d:\n", ppri_tbl->deflt, ppri_tbl->deflt_limit); in output_tbl()
76 fdprintf(fd, "%d:", limit); in output_tbl()
/illumos-gate/usr/src/cmd/troff/
H A Dn1.c75 extern void fdprintf(int, char *, ...);
270 fdprintf(stderr, "loop: NL=%d, ejf=%d, lss=%d, eileenct=%d\n", in main()
473 fdprintf(stderr, "%s: ", progname);
474 fdprintf(stderr, s, s1, s2, s3, s4, s5);
476 fdprintf(stderr, gettext("; line %d, file %s"), numtab[CD].val,
478 fdprintf(stderr, "\n");
500 fdprintf(int fd, char *fmt, ...) in fdprintf() function
679 fdprintf(stderr, "control: macro %c%c, contab[%d]\n",
742 fdprintf(stderr, "getch: ch is %x (%c)\n", in getch()
754 fdprintf(stderr,"getch: nlflg is %x\n", nlflg); in getch()
[all …]
H A Dn3.c451 fdprintf(stderr, "alloc: "); in alloc()
456 fdprintf(stderr, "oldmn %d %c%c, ", oldmn, cc1, cc2); in alloc()
458 fdprintf(stderr, "newmn %d; nextb was %x, will be %x\n", in alloc()
1029 fdprintf(stderr, "%s %d\n", pmline, k); in casepm()
1032 fdprintf(stderr, "pm: total %d, macros %d, space %d\n", tcnt, cnt, kk); in casepm()
1044 fdprintf(stderr, "%c%c ", p->mname&0177, (p->mname>>BYTE)&0177); in stackdump()
1045 fdprintf(stderr, "\n"); in stackdump()
H A Dn5.c517 fdprintf(stderr, "%s", tmbuf);
863 fdprintf(stderr, "\007"); /*bell*/ in caserd()
866 fdprintf(stderr, "%s:", nextf); in caserd()
868 fdprintf(stderr, "\007"); /*bell*/ in caserd()
H A Dn2.c144 fdprintf(ptid, "%c", j);
/illumos-gate/usr/src/cmd/lp/lib/printers/
H A Dputprinter.c340 (void)fdprintf(fdout, "%s %s\n", HEAD, ptr); in putprinter()
387 (void)fdprintf(fdout, "%s\n", HEAD); in putprinter()
507 (void)fdprintf (fd, "%s ", head); in print_sdn()
516 (void)fdprintf (fd, "%s ", head); in print_l()
530 (void)fdprintf (fd, "%s %s\n", head, str); in print_str()
H A Ddefault.c62 fdprintf(fd, "%s\n", dflt); in putdefault()
/illumos-gate/usr/src/cmd/lp/lib/access/
H A Ddumpaccess.c93 fdprintf (fd, "%s\n", *pl); in _dumpaccess()
/illumos-gate/usr/src/cmd/lp/include/
H A Dlp.h386 extern int fdprintf(int, char *, ...);