X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/2d21ac55c334faf3a56e5634905ed6987fc787d4..HEAD:/bsd/man/man2/pathconf.2 diff --git a/bsd/man/man2/pathconf.2 b/bsd/man/man2/pathconf.2 index afe640327..711970e30 100644 --- a/bsd/man/man2/pathconf.2 +++ b/bsd/man/man2/pathconf.2 @@ -103,6 +103,27 @@ system call, otherwise 0. Return 1 if file names longer than KERN_NAME_MAX are truncated. .It Li _PC_VDISABLE Returns the terminal character disabling value. +.It Li _PC_XATTR_SIZE_BITS +Returns the number of bits used to store maximum extended +attribute size in bytes. For example, if the maximum +attribute size supported by a file system is 128K, the +value returned will be 18. However a value 18 can mean +that the maximum attribute size can be anywhere from +(256KB - 1) to 128KB. As a special case, the resource +fork can have much larger size, and some file system +specific extended attributes can have smaller and preset +size; for example, Finder Info is always 32 bytes. +.It Li _PC_MIN_HOLE_SIZE +If a file system supports the reporting of holes (see +.Xr lseek 2 ) , +.Fn pathconf +and +.Fn fpathconf +return a positive number that represents the minimum hole size returned in +bytes. +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 +hole size but still reports holes. .El .Sh RETURN VALUES If the call to @@ -137,7 +158,7 @@ The implementation does not support an association of the variable name with the associated file. .El .Pp -.Fn Pathconf +.Fn pathconf will fail if: .Bl -tag -width ENAMETOOLONGAA .\" =========== @@ -163,7 +184,7 @@ A component of the path prefix is not a directory. .El .Pp .Bl -tag -width ENAMETOOLONGAA -.Fn Fpathconf +.Fn fpathconf will fail if: .\" =========== .It Bq Er EBADF