summaryrefslogtreecommitdiff
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.26
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/sys/truncate.2 b/lib/libc/sys/truncate.2
index 7f519cbb63b..ee4f1aeb3e4 100644
--- a/lib/libc/sys/truncate.2
+++ b/lib/libc/sys/truncate.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: truncate.2,v 1.11 2003/06/02 20:18:39 millert Exp $
+.\" $OpenBSD: truncate.2,v 1.12 2004/07/18 12:05:07 avsm Exp $
.\" $NetBSD: truncate.2,v 1.7 1995/02/27 12:39:00 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -114,6 +114,10 @@ references a socket, not a file.
The
.Fa fd
is not open for writing.
+.It Bq Er EINVAL
+The
+.Fa length
+is a negative value.
.El
.Sh SEE ALSO
.Xr open 2