truncate.c:

Do not include unused header files.
	Add rcsid.
	Change copyright.

truncate.1:
	Add AUTHORS section.

Submitted by:	charnier
This commit is contained in:
Sheldon Hearn 2000-07-24 08:56:42 +00:00
parent 0c09388123
commit 6b88e76b89
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=63790
2 changed files with 13 additions and 4 deletions

View File

@ -146,3 +146,9 @@ The
.Nm
utility first appeared in
.Fx 5.0 .
.Sh AUTHORS
The
.Nm
utility and this manual page were written by
.An Sheldon Hearn
.Aq sheldonh@uunet.co.za .

View File

@ -1,5 +1,6 @@
/*
* Copyright (c) 2000 FreeBSD, Inc. All rights reserved.
* Copyright (c) 2000 Sheldon Hearn <sheldonh@FreeBSD.org>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@ -22,17 +23,19 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD$
*/
#ifndef lint
static const char rcsid[] =
"$FreeBSD$";
#endif
#include <sys/stat.h>
#include <sys/types.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>