Fix pathconf.2 documentation error
_PC_MIN_HOLE_SIZE and _PC_DEALLOC_PRESENT were mixed somehow before this fix. Sponsored by: The FreeBSD Foundation Reviewed by: delphij Differential Revision: https://reviews.freebsd.org/D31436
This commit is contained in:
parent
5b27e4b27c
commit
fd0ffba3b4
@ -28,7 +28,7 @@
|
|||||||
.\" @(#)pathconf.2 8.1 (Berkeley) 6/4/93
|
.\" @(#)pathconf.2 8.1 (Berkeley) 6/4/93
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd March 30, 2020
|
.Dd August 6, 2021
|
||||||
.Dt PATHCONF 2
|
.Dt PATHCONF 2
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -166,9 +166,6 @@ specified file, otherwise 0.
|
|||||||
.It Li _PC_MIN_HOLE_SIZE
|
.It Li _PC_MIN_HOLE_SIZE
|
||||||
If a file system supports the reporting of holes (see
|
If a file system supports the reporting of holes (see
|
||||||
.Xr lseek 2 ) ,
|
.Xr lseek 2 ) ,
|
||||||
.It Li _PC_DEALLOC_PRESENT
|
|
||||||
If a file system supports hole-punching (see
|
|
||||||
.Xr fspacectl 2 ) ,
|
|
||||||
.Fn pathconf
|
.Fn pathconf
|
||||||
and
|
and
|
||||||
.Fn fpathconf
|
.Fn fpathconf
|
||||||
@ -177,6 +174,10 @@ bytes.
|
|||||||
The offsets of holes returned will be aligned to this same value.
|
The offsets of holes returned will be aligned to this same value.
|
||||||
A special value of 1 is returned if the file system does not specify the minimum
|
A special value of 1 is returned if the file system does not specify the minimum
|
||||||
hole size but still reports holes.
|
hole size but still reports holes.
|
||||||
|
.It Li _PC_DEALLOC_PRESENT
|
||||||
|
Return 1 if a file system supports hole-punching (see
|
||||||
|
.Xr fspacectl 2 ) ,
|
||||||
|
otherwise 0.
|
||||||
.El
|
.El
|
||||||
.Sh RETURN VALUES
|
.Sh RETURN VALUES
|
||||||
If the call to
|
If the call to
|
||||||
|
Loading…
Reference in New Issue
Block a user