cmds.c (31492) | cmds.c (39084) |
---|---|
1/* 2 * Copyright (c) 1983, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 29 unchanged lines hidden (view full) --- 38 The Regents of the University of California. All rights reserved.\n"; 39#endif /* not lint */ 40 41#ifndef lint 42/* 43static char sccsid[] = "@(#)cmds.c 8.2 (Berkeley) 4/28/95"; 44*/ 45static const char rcsid[] = | 1/* 2 * Copyright (c) 1983, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 29 unchanged lines hidden (view full) --- 38 The Regents of the University of California. All rights reserved.\n"; 39#endif /* not lint */ 40 41#ifndef lint 42/* 43static char sccsid[] = "@(#)cmds.c 8.2 (Berkeley) 4/28/95"; 44*/ 45static const char rcsid[] = |
46 "$Id$"; | 46 "$Id: cmds.c,v 1.11 1997/12/02 20:45:37 wollman Exp $"; |
47#endif /* not lint */ 48 49/* 50 * lpc -- line printer control program -- commands: 51 */ 52 53#include <sys/param.h> 54#include <sys/time.h> --- 10 unchanged lines hidden (view full) --- 65#include <ctype.h> 66#include <string.h> 67#include "lp.h" 68#include "lp.local.h" 69#include "lpc.h" 70#include "extern.h" 71#include "pathnames.h" 72 | 47#endif /* not lint */ 48 49/* 50 * lpc -- line printer control program -- commands: 51 */ 52 53#include <sys/param.h> 54#include <sys/time.h> --- 10 unchanged lines hidden (view full) --- 65#include <ctype.h> 66#include <string.h> 67#include "lp.h" 68#include "lp.local.h" 69#include "lpc.h" 70#include "extern.h" 71#include "pathnames.h" 72 |
73extern uid_t uid, euid; 74 | |
75static void abortpr __P((struct printer *, int)); 76static int doarg __P((char *)); 77static int doselect __P((struct dirent *)); 78static void putmsg __P((struct printer *, int, char **)); 79static int sortq __P((const void *, const void *)); 80static void startpr __P((struct printer *, int)); 81static int touch __P((struct queue *)); 82static void unlinkf __P((char *)); --- 810 unchanged lines hidden --- | 73static void abortpr __P((struct printer *, int)); 74static int doarg __P((char *)); 75static int doselect __P((struct dirent *)); 76static void putmsg __P((struct printer *, int, char **)); 77static int sortq __P((const void *, const void *)); 78static void startpr __P((struct printer *, int)); 79static int touch __P((struct queue *)); 80static void unlinkf __P((char *)); --- 810 unchanged lines hidden --- |