summaryrefslogtreecommitdiff
path: root/lib/libc/sys/truncate.2
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-27 21:57:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-27 21:57:41 +0000
commitaaf2d58f0d5749cc06139b7e1db0b22881ba61bd (patch)
treebc799ab769e278dfdecc60b0bbf69c30a578d613 /lib/libc/sys/truncate.2
parent584fd0812f68bd000624885be123bf263ed152ff (diff)
make function names the correct case
Diffstat (limited to 'lib/libc/sys/truncate.2')
-rw-r--r--lib/libc/sys/truncate.210
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/sys/truncate.2 b/lib/libc/sys/truncate.2
index 41814b62c10..41530858ed8 100644
--- a/lib/libc/sys/truncate.2
+++ b/lib/libc/sys/truncate.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: truncate.2,v 1.3 1998/07/06 18:28:52 deraadt Exp $
+.\" $OpenBSD: truncate.2,v 1.4 1999/02/27 21:56:57 deraadt Exp $
.\" $NetBSD: truncate.2,v 1.7 1995/02/27 12:39:00 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -48,7 +48,7 @@
.Ft int
.Fn ftruncate "int fd" "off_t length"
.Sh DESCRIPTION
-.Fn Truncate
+.Fn truncate
causes the file named by
.Fa path
or referenced by
@@ -67,7 +67,7 @@ fails a -1 is returned, and the global variable
.Va errno
specifies the error.
.Sh ERRORS
-.Fn Truncate
+.Fn truncate
succeeds unless:
.Bl -tag -width Er
.It Bq Er ENOTDIR
@@ -95,14 +95,14 @@ 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
+.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
+.Fn ftruncate
succeeds unless:
.Bl -tag -width Er
.It Bq Er EBADF