getExtendedAttribute(named:buffer:)
Get the value of the named extended attribute.
This declaration is gated by at least one @_spi attribute.
func getExtendedAttribute(named name: String, buffer: UnsafeMutableRawBufferPointer?) -> Result<Int, Errno>
Parameters
Returns
The size of the extended attribute value.
The corresponding C function is fgetxattr
.