aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2000-07-24 08:56:42 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2000-07-24 08:56:42 +0000
commit6b88e76b8908dbd92637b72585b73220edb4e79c (patch)
treeb9e5346e2ae3a8bc6f607ca8122912c6c5e59489 /usr.bin
parent0c0938812369e7731a32b7038a8e0a7bca4fdb2d (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/truncate/truncate.16
-rw-r--r--usr.bin/truncate/truncate.c11
2 files changed, 13 insertions, 4 deletions
diff --git a/usr.bin/truncate/truncate.1 b/usr.bin/truncate/truncate.1
index dc05da68e2d6..f9f2ab605371 100644
--- a/usr.bin/truncate/truncate.1
+++ b/usr.bin/truncate/truncate.1
@@ -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 .
diff --git a/usr.bin/truncate/truncate.c b/usr.bin/truncate/truncate.c
index 86c92f40b18b..6a167498f528 100644
--- a/usr.bin/truncate/truncate.c
+++ b/usr.bin/truncate/truncate.c
@@ -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>