Searched refs:ppw (Results 1 – 8 of 8) sorted by relevance
150 register PWHEEL *ppw; local158 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 …]
736 struct passwd *ppw; local771 if (!(ppw = getpwnam(LPUSER)))772 ppw = getpwnam(ROOTUSER);774 if (ppw)775 lp_uid = ppw->pw_uid;
233 PWHEEL * ppw in freepwheel() argument236 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);
42 struct passwd *ppw = NULL; in main() local58 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()
236 struct passwd *ppw; in chown_lppath() local240 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()
220 check_pwheel_alert(PWSTATUS *ppws, PWHEEL *ppw) in check_pwheel_alert() argument241 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()
656 register PWHEEL *ppw; in s_load_printwheel() local666 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()
113 wchar_t *p, *pw, *ppw; in wrap() local179 ppw = pw; in wrap()201 len = ppw - p; in wrap()