diff options
author | natano <natano@cvs.openbsd.org> | 2016-02-28 14:38:26 +0000 |
---|---|---|
committer | natano <natano@cvs.openbsd.org> | 2016-02-28 14:38:26 +0000 |
commit | aa34e5656857109d30446d1270c8895c64116f46 (patch) | |
tree | 7f6348981ab0fbbdc9b5780d92d3b1f6ee84c5c5 /lib/libc | |
parent | eb0ed2c8432fb8464853d0f5cd664281c16f4a7d (diff) |
fruncate() returns EFBIG when length exceeds the max file size.
ok mpi@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/truncate.2 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/truncate.2 b/lib/libc/sys/truncate.2 index d66a6e9fa67..b5425140857 100644 --- a/lib/libc/sys/truncate.2 +++ b/lib/libc/sys/truncate.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: truncate.2,v 1.18 2015/09/10 17:55:21 schwarze Exp $ +.\" $OpenBSD: truncate.2,v 1.19 2016/02/28 14:38:25 natano Exp $ .\" $NetBSD: truncate.2,v 1.7 1995/02/27 12:39:00 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)truncate.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: September 10 2015 $ +.Dd $Mdocdate: February 28 2016 $ .Dt TRUNCATE 2 .Os .Sh NAME @@ -70,6 +70,10 @@ will succeed unless: The .Fa length is a negative value. +.It Bq Er EFBIG +The +.Fa length +exceeds the maximum file size of the underlying filesystem. .It Bq Er EIO An I/O error occurred updating the inode. .El |