summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-08-02 02:01:52 +0000
committerderaadt <deraadt@openbsd.org>1997-08-02 02:01:52 +0000
commit4d6435027f4ed959bc2783511c05c096d17f855c (patch)
tree2760bfa617c5f8733c74b0276b6b77472e90b440
parentFrom NetBSD (phil): (diff)
downloadwireguard-openbsd-4d6435027f4ed959bc2783511c05c096d17f855c.tar.xz
wireguard-openbsd-4d6435027f4ed959bc2783511c05c096d17f855c.zip
doc EPERM; bitblt
-rw-r--r--lib/libc/sys/truncate.23
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/sys/truncate.2 b/lib/libc/sys/truncate.2
index 06f01dec084..6ae6c50eda5 100644
--- a/lib/libc/sys/truncate.2
+++ b/lib/libc/sys/truncate.2
@@ -96,6 +96,9 @@ An I/O error occurred updating the inode.
.It Bq Er EFAULT
.Fa Path
points outside the process's allocated address space.
+.It Bq Er EPERM
+The effective user ID does not match the owner of the file and
+the effective user ID is not the super-user.
.El
.Pp
.Fn Ftruncate