summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/truncate.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/truncate.2')
-rw-r--r--lib/libc/sys/truncate.25
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libc/sys/truncate.2 b/lib/libc/sys/truncate.2
index fb3311f..aa6a4b6 100644
--- a/lib/libc/sys/truncate.2
+++ b/lib/libc/sys/truncate.2
@@ -65,10 +65,7 @@ With
.Fn ftruncate ,
the file must be open for writing.
.Sh RETURN VALUES
-A value of 0 is returned if the call succeeds. If the call
-fails a -1 is returned, and the global variable
-.Va errno
-specifies the error.
+.Rv -std
.Sh ERRORS
.Fn Truncate
succeeds unless:
OpenPOWER on IntegriCloud