mesg.c (82725ba9bf1fd59746a4006a06f24d4d61d142f2) mesg.c (1a7ac2bd24c1763b0d32e23d9c70308fbc24b07a)
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1987, 1993
5 * The Regents of the University of California. All rights reserved.
6 * (c) UNIX System Laboratories, Inc.
7 * All or some portions of this file are derived from material licensed
8 * to the University of California by American Telephone and Telegraph

--- 43 unchanged lines hidden (view full) ---

52#include <sys/stat.h>
53
54#include <err.h>
55#include <stdio.h>
56#include <stdlib.h>
57#include <string.h>
58#include <unistd.h>
59
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1987, 1993
5 * The Regents of the University of California. All rights reserved.
6 * (c) UNIX System Laboratories, Inc.
7 * All or some portions of this file are derived from material licensed
8 * to the University of California by American Telephone and Telegraph

--- 43 unchanged lines hidden (view full) ---

52#include <sys/stat.h>
53
54#include <err.h>
55#include <stdio.h>
56#include <stdlib.h>
57#include <string.h>
58#include <unistd.h>
59
60static void usage(void);
60static void usage(void) __dead2;
61
62int
63main(int argc, char *argv[])
64{
65 struct stat sb;
66 char *tty;
67 int ch;
68

--- 46 unchanged lines hidden ---
61
62int
63main(int argc, char *argv[])
64{
65 struct stat sb;
66 char *tty;
67 int ch;
68

--- 46 unchanged lines hidden ---