diff options
author | pjd <pjd@FreeBSD.org> | 2006-12-13 22:51:23 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-12-13 22:51:23 +0000 |
commit | 8ce2a077767819affadc250a99fca78232fdeb39 (patch) | |
tree | 153df92944e0cf4bec374b0186f67b38e1b84862 | |
parent | e9e77760fbb37300b2b391fdc5459f7f77e69094 (diff) | |
download | FreeBSD-src-8ce2a077767819affadc250a99fca78232fdeb39.zip FreeBSD-src-8ce2a077767819affadc250a99fca78232fdeb39.tar.gz |
- truncate(2) returns EFBIG if the length argument was greater than the
maximum file size.
- truncate(2) returns EINVAL if the length argument was less than 0.
-rw-r--r-- | lib/libc/sys/truncate.2 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libc/sys/truncate.2 b/lib/libc/sys/truncate.2 index 39edc28..695789d 100644 --- a/lib/libc/sys/truncate.2 +++ b/lib/libc/sys/truncate.2 @@ -32,7 +32,7 @@ .\" @(#)truncate.2 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd December 9, 2006 +.Dd December 13, 2006 .Dt TRUNCATE 2 .Os .Sh NAME @@ -102,6 +102,14 @@ The named file is a directory. The named file resides on a read-only file system. .It Bq Er ETXTBSY The file is a pure procedure (shared text) file that is being executed. +.It Bq Er EFBIG +The +.Fa length +argument was greater than the maximum file size. +.It Bq Er EINVAL +The +.Fa length +argument was less than 0. .It Bq Er EIO An I/O error occurred updating the inode. .It Bq Er EFAULT |