Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/sys/posix_fallocate.2
Show All 22 Lines | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" @(#)open.2 8.2 (Berkeley) 11/16/93 | .\" @(#)open.2 8.2 (Berkeley) 11/16/93 | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd November 4, 2017 | .Dd January 5, 2020 | ||||
.Dt POSIX_FALLOCATE 2 | .Dt POSIX_FALLOCATE 2 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm posix_fallocate | .Nm posix_fallocate | ||||
.Nd pre-allocate storage for a range in a file | .Nd pre-allocate storage for a range in a file | ||||
.Sh LIBRARY | .Sh LIBRARY | ||||
.Lb libc | .Lb libc | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
▲ Show 20 Lines • Show All 70 Lines • ▼ Show 20 Lines | |||||
.Fa offset | .Fa offset | ||||
argument was less than zero, | argument was less than zero, | ||||
or the operation is not supported by the file system. | or the operation is not supported by the file system. | ||||
.It Bq Er EIO | .It Bq Er EIO | ||||
An I/O error occurred while reading from or writing to a file system. | An I/O error occurred while reading from or writing to a file system. | ||||
.It Bq Er ENODEV | .It Bq Er ENODEV | ||||
The | The | ||||
.Fa fd | .Fa fd | ||||
argument does not refer to a regular file. | argument does not refer to a file that supports | ||||
.Nm . | |||||
.It Bq Er ENOSPC | .It Bq Er ENOSPC | ||||
There is insufficient free space remaining on the file system storage | There is insufficient free space remaining on the file system storage | ||||
media. | media. | ||||
.It Bq Er ENOTCAPABLE | .It Bq Er ENOTCAPABLE | ||||
The file descriptor | The file descriptor | ||||
.Fa fd | .Fa fd | ||||
has insufficient rights. | has insufficient rights. | ||||
.It Bq Er ESPIPE | .It Bq Er ESPIPE | ||||
Show All 23 Lines |