mirror of https://github.com/mkerrisk/man-pages
posix_fallocate.3: Clarify that EINVAL also occurs of 'len' *equals* zero
See http://bugzilla.kernel.org/show_bug.cgi?id=12919 Reported-by: Eelco Dolstra <dolstra@tudelft.nl> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
94cffcd707
commit
0c4dba9305
|
@ -20,7 +20,7 @@
|
|||
.\" Formatted or processed versions of this manual, if unaccompanied by
|
||||
.\" the source, must acknowledge the copyright and authors of this work.
|
||||
.\"
|
||||
.TH POSIX_FALLOCATE 3 2008-03-03 "GNU" "Linux Programmer's Manual"
|
||||
.TH POSIX_FALLOCATE 3 2009-03-30 "GNU" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
posix_fallocate \- allocate file space
|
||||
.SH SYNOPSIS
|
||||
|
@ -68,9 +68,9 @@ exceeds the maximum file size.
|
|||
.TP
|
||||
.B EINVAL
|
||||
.I offset
|
||||
or
|
||||
was less than 0, or
|
||||
.I len
|
||||
was less than 0.
|
||||
was less than or equal to 0.
|
||||
.TP
|
||||
.B ENODEV
|
||||
.I fd
|
||||
|
|
Loading…
Reference in New Issue