summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/truncate.2
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-19 09:40:28 +0000
committerru <ru@FreeBSD.org>2002-12-19 09:40:28 +0000
commit51fe7c1a888747c57136cc34ec54a93a0487b745 (patch)
treef0781cb8e5be3a35234a6d0c123d6ae11ba70e40 /lib/libc/sys/truncate.2
parent3424a53ebeadf7ab320c37cf93702953cee94efe (diff)
downloadFreeBSD-src-51fe7c1a888747c57136cc34ec54a93a0487b745.zip
FreeBSD-src-51fe7c1a888747c57136cc34ec54a93a0487b745.tar.gz
mdoc(7) police: "The .Fa argument.".
Diffstat (limited to 'lib/libc/sys/truncate.2')
-rw-r--r--lib/libc/sys/truncate.27
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/sys/truncate.2 b/lib/libc/sys/truncate.2
index 32e487e..29892ac 100644
--- a/lib/libc/sys/truncate.2
+++ b/lib/libc/sys/truncate.2
@@ -96,7 +96,9 @@ The file is a pure procedure (shared text) file that is being executed.
.It Bq Er EIO
An I/O error occurred updating the inode.
.It Bq Er EFAULT
-.Fa Path
+The
+.Fa path
+argument
points outside the process's allocated address space.
.El
.Pp
@@ -108,14 +110,17 @@ succeeds unless:
.It Bq Er EBADF
The
.Fa fd
+argument
is not a valid descriptor.
.It Bq Er EINVAL
The
.Fa fd
+argument
references a socket, not a file.
.It Bq Er EINVAL
The
.Fa fd
+descriptor
is not open for writing.
.El
.Sh SEE ALSO
OpenPOWER on IntegriCloud