rmjob.c (5458e2f42165dc9479b4c810c40b6c1656702857) | rmjob.c (7f72cbbae93fd95412c690424a98f0a0da470b54) |
---|---|
1/* 2 * Copyright (c) 1983, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 42 unchanged lines hidden (view full) --- 51 52/* 53 * rmjob - remove the specified jobs from the queue. 54 */ 55 56/* 57 * Stuff for handling lprm specifications 58 */ | 1/* 2 * Copyright (c) 1983, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 42 unchanged lines hidden (view full) --- 51 52/* 53 * rmjob - remove the specified jobs from the queue. 54 */ 55 56/* 57 * Stuff for handling lprm specifications 58 */ |
59extern char *user[]; /* users to process */ 60extern int users; /* # of users in user array */ 61extern int requ[]; /* job number of spool entries */ 62extern int requests; /* # of spool requests */ 63extern char *person; /* name of person doing lprm */ 64 | |
65static char root[] = "root"; 66static int all = 0; /* eliminate all files (root only) */ 67static int cur_daemon; /* daemon's pid */ 68static char current[40]; /* active control file name */ 69 70void 71rmjob() 72{ --- 267 unchanged lines hidden --- | 59static char root[] = "root"; 60static int all = 0; /* eliminate all files (root only) */ 61static int cur_daemon; /* daemon's pid */ 62static char current[40]; /* active control file name */ 63 64void 65rmjob() 66{ --- 267 unchanged lines hidden --- |