Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/sys/pathconf.2
Show First 20 Lines • Show All 160 Lines • ▼ Show 20 Lines | |||||
Returns 1 if an information label can be set on the specified file, | Returns 1 if an information label can be set on the specified file, | ||||
otherwise 0. | otherwise 0. | ||||
.It Li _PC_MAC_PRESENT | .It Li _PC_MAC_PRESENT | ||||
Returns 1 if a Mandatory Access Control (MAC) label can be set on the | Returns 1 if a Mandatory Access Control (MAC) label can be set on the | ||||
specified file, otherwise 0. | 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 | ||||
return a positive number that represents the minimum hole size returned in | return a positive number that represents the minimum hole size returned in | ||||
bytes. | 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. | ||||
▲ Show 20 Lines • Show All 89 Lines • Show Last 20 Lines |