* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
* This code is derived from software contributed to Berkeley by
* %sccs.include.redist.c%
static char sccsid
[] = "@(#)misc.c 8.1 (Berkeley) %G%";
err(0, "%s: %s", fname
, strerror(errno
));
err(1, "stdout: %s", strerror(errno
));
err(int fatal
, const char *fmt
, ...)
err(fatal
, fmt
, va_alist
)
(void)fprintf(stderr
, "tail: ");
(void)vfprintf(stderr
, fmt
, ap
);
(void)fprintf(stderr
, "\n");