Searched refs:ppw (Results 1 – 8 of 8) sorted by relevance
147 register PWHEEL *ppw; local155 ppw = oldS;157 ppw = &pwheel_buf;158 ppw->alert.shcmd = 0;159 ppw->alert.Q = 0;160 ppw->alert.W = 0;167 ppw->alert.shcmd = nameit(A);169 ppw->alert.shcmd = A;174 ppw->alert.Q = Q;178 ppw->alert.W = W;[all …]
734 struct passwd *ppw; local769 if (!(ppw = getpwnam(LPUSER)))770 ppw = getpwnam(ROOTUSER);772 if (ppw)773 lp_uid = ppw->pw_uid;
231 PWHEEL * ppw in freepwheel() argument234 freepwheel (ppw) in freepwheel()235 PWHEEL *ppw; in freepwheel()238 if (!ppw)240 if (ppw->name)241 Free (ppw->name);242 if (ppw->alert.shcmd)243 Free (ppw->alert.shcmd);244 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()
235 struct passwd *ppw; in chown_lppath() local239 if (!(ppw = getpwnam(LPUSER))) in chown_lppath()240 ppw = getpwnam(ROOTUSER); in chown_lppath()242 if (!ppw) in chown_lppath()244 lp_uid = ppw->pw_uid; in chown_lppath()245 lp_gid = ppw->pw_gid; in chown_lppath()
218 check_pwheel_alert(PWSTATUS *ppws, PWHEEL *ppw) in check_pwheel_alert() argument239 if (ppw) { in check_pwheel_alert()240 if ((trigger = ppw->alert.Q) <= 0) in check_pwheel_alert()249 #define NALERT ppw->alert in check_pwheel_alert()264 ppw in check_pwheel_alert()281 if ((ppw && NALERT.shcmd) || OALERT.shcmd) in check_pwheel_alert()287 Return: if (ppw) { in check_pwheel_alert()289 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()
111 wchar_t *p, *pw, *ppw; in wrap() local177 ppw = pw; in wrap()199 len = ppw - p; in wrap()