from.c (66590) | from.c (92920) |
---|---|
1/* 2 * Copyright (c) 1980, 1988, 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 --- 28 unchanged lines hidden (view full) --- 37 The Regents of the University of California. All rights reserved.\n"; 38#endif /* not lint */ 39 40#ifndef lint 41#if 0 42static char sccsid[] = "@(#)from.c 8.1 (Berkeley) 6/6/93"; 43#endif 44static const char rcsid[] = | 1/* 2 * Copyright (c) 1980, 1988, 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 --- 28 unchanged lines hidden (view full) --- 37 The Regents of the University of California. All rights reserved.\n"; 38#endif /* not lint */ 39 40#ifndef lint 41#if 0 42static char sccsid[] = "@(#)from.c 8.1 (Berkeley) 6/6/93"; 43#endif 44static const char rcsid[] = |
45 "$FreeBSD: head/usr.bin/from/from.c 66590 2000-10-03 17:05:02Z ru $"; | 45 "$FreeBSD: head/usr.bin/from/from.c 92920 2002-03-22 01:22:50Z imp $"; |
46#endif /* not lint */ 47 48#include <sys/types.h> 49#include <ctype.h> 50#include <err.h> 51#include <pwd.h> 52#include <stdio.h> 53#include <stdlib.h> 54#include <paths.h> 55#include <string.h> 56#include <unistd.h> 57 | 46#endif /* not lint */ 47 48#include <sys/types.h> 49#include <ctype.h> 50#include <err.h> 51#include <pwd.h> 52#include <stdio.h> 53#include <stdlib.h> 54#include <paths.h> 55#include <string.h> 56#include <unistd.h> 57 |
58int match __P((char *, char *)); 59static void usage __P((void)); | 58int match(char *, char *); 59static void usage(void); |
60 61int 62main(argc, argv) 63 int argc; 64 char **argv; 65{ 66 struct passwd *pwd; 67 int ch, count, newline; --- 103 unchanged lines hidden --- | 60 61int 62main(argc, argv) 63 int argc; 64 char **argv; 65{ 66 struct passwd *pwd; 67 int ch, count, newline; --- 103 unchanged lines hidden --- |