Home
last modified time | relevance | path

Searched refs:ppw (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_pwheel.c150 register PWHEEL *ppw; local
158 ppw = oldS;
160 ppw = &pwheel_buf;
161 ppw->alert.shcmd = 0;
162 ppw->alert.Q = 0;
163 ppw->alert.W = 0;
170 ppw->alert.shcmd = nameit(A);
172 ppw->alert.shcmd = A;
177 ppw->alert.Q = Q;
181 ppw->alert.W = W;
[all …]
H A Dchkopts.c736 struct passwd *ppw; local
771 if (!(ppw = getpwnam(LPUSER)))
772 ppw = getpwnam(ROOTUSER);
774 if (ppw)
775 lp_uid = ppw->pw_uid;
/titanic_50/usr/src/cmd/lp/lib/printers/
H A Dprintwheels.c233 PWHEEL * ppw in freepwheel() argument
236 freepwheel (ppw) in freepwheel()
237 PWHEEL *ppw; in freepwheel()
240 if (!ppw)
242 if (ppw->name)
243 Free (ppw->name);
244 if (ppw->alert.shcmd)
245 Free (ppw->alert.shcmd);
246 Free (ppw);
/titanic_50/usr/src/test/zfs-tests/cmd/chg_usr_exec/
H A Dchg_usr_exec.c42 struct passwd *ppw = NULL; in main() local
58 if ((ppw = getpwnam(plogin)) == NULL) { in main()
62 if (setgid(ppw->pw_gid) != 0) { in main()
66 if (setuid(ppw->pw_uid) != 0) { in main()
/titanic_50/usr/src/cmd/lp/lib/lp/
H A Dfiles.c236 struct passwd *ppw; in chown_lppath() local
240 if (!(ppw = getpwnam(LPUSER))) in chown_lppath()
241 ppw = getpwnam(ROOTUSER); in chown_lppath()
243 if (!ppw) in chown_lppath()
245 lp_uid = ppw->pw_uid; in chown_lppath()
246 lp_gid = ppw->pw_gid; in chown_lppath()
/titanic_50/usr/src/cmd/lp/cmd/lpsched/
H A Ddaisyforms.c220 check_pwheel_alert(PWSTATUS *ppws, PWHEEL *ppw) in check_pwheel_alert() argument
241 if (ppw) { in check_pwheel_alert()
242 if ((trigger = ppw->alert.Q) <= 0) in check_pwheel_alert()
251 #define NALERT ppw->alert in check_pwheel_alert()
266 ppw in check_pwheel_alert()
283 if ((ppw && NALERT.shcmd) || OALERT.shcmd) in check_pwheel_alert()
289 Return: if (ppw) { in check_pwheel_alert()
291 ppws->pwheel = ppw; in check_pwheel_alert()
H A Ddisp3.c656 register PWHEEL *ppw; in s_load_printwheel() local
666 else if (!(ppw = Getpwheel(pwheel_name))) { in s_load_printwheel()
679 check_pwheel_alert (ppws, ppw); in s_load_printwheel()
681 } else if ((ppws = new_pwstatus(ppw))) { in s_load_printwheel()
698 check_pwheel_alert (ppws, ppw); in s_load_printwheel()
702 freepwheel (ppw); in s_load_printwheel()
/titanic_50/usr/src/cmd/lp/lib/oam/
H A Dfmtmsg.c113 wchar_t *p, *pw, *ppw; in wrap() local
179 ppw = pw; in wrap()
201 len = ppw - p; in wrap()