SCCS-vsn: usr.bin/at/atq/atq.c 5.3
#endif not lint
#ifndef lint
#endif not lint
#ifndef lint
-static char sccsid[] = "@(#)atq.c 5.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)atq.c 5.3 (Berkeley) %G%";
spooling area was updated */
int powner(); /* print the name of the owner
of the job */
spooling area was updated */
int powner(); /* print the name of the owner
of the job */
- int getid(); /* get uid of a person */
char **ptr; /* scratch pointer */
struct stat stbuf; /* buffer for file stats */
char **ptr; /* scratch pointer */
struct stat stbuf; /* buffer for file stats */
-
-/*
- * Get the uid of a person using his/her login name. Return -1 if no
- * such account name exists.
- */
-getid(name)
-char *name;
-{
-
- struct passwd *pwdinfo; /* password info structure */
-
-
- if ((pwdinfo = getpwnam(name)) == 0)
- return(-1);
-
- return(pwdinfo->pw_uid);
-}
-
/*
* Print the time the spooling area was updated.
*/
/*
* Print the time the spooling area was updated.
*/