1/* 2 * Copyright (c) 1988, 1990, 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 --- 19 unchanged lines hidden (view full) --- 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 */ 33 34#include <sys/cdefs.h> 35 |
36__FBSDID("$FreeBSD: head/usr.bin/wall/wall.c 202200 2010-01-13 18:09:54Z ed $"); |
37 38#ifndef lint 39static const char copyright[] = 40"@(#) Copyright (c) 1988, 1990, 1993\n\ 41 The Regents of the University of California. All rights reserved.\n"; 42#endif 43 44#ifndef lint --- 14 unchanged lines hidden (view full) --- 59#include <grp.h> 60#include <locale.h> 61#include <paths.h> 62#include <pwd.h> 63#include <stdio.h> 64#include <stdlib.h> 65#include <string.h> 66#include <time.h> |
67#include <unistd.h> |
68#include <utmpx.h> |
69 70#include "ttymsg.h" 71 72static void makemsg(char *); 73static void usage(void); 74 75struct wallgroup { 76 struct wallgroup *next; --- 232 unchanged lines hidden --- |