[hackers] [ubase] Add truncate manpage || sin
commit 12145b33e8b75ce5c9d821ce111355099c952307
Author: sin <sin_AT_2f30.org>
Date: Sun Apr 13 14:45:15 2014 +0100
Add truncate manpage
diff --git a/truncate.1 b/truncate.1
new file mode 100644
index 0000000..ffdcad5
--- /dev/null
+++ b/truncate.1
_AT_@ -0,0 +1,18 @@
+.TH TRUNCATE 1 ubase-VERSION
+.SH NAME
+BtruncateR - Shrink or extend the size of a file to the specified size
+.SH SYNOPSIS
+BtruncateR [B-cR] B-sI size file...R
+.SH DESCRIPTION
+BtruncateR shrinks or extends the size of each IfileR to the
+specified size. A IfileR argument that does not exist is created.
+If a IfileR is larger than the specified size, the extra data is lost.
+If a IfileR is shorter, it is extended and the extended part (hole) reads
+as zero bytes.
+.SH OPTIONS
+.TP
+B-cR Do not create any files.
+.TP
+B-sR Set or adjust the file size by IsizeR bytes.
+.SH SEE ALSO
+truncate(2), ftruncate(2)
Received on Sun Apr 13 2014 - 15:45:59 CEST
This archive was generated by hypermail 2.3.0
: Sun Apr 13 2014 - 15:48:11 CEST