Function

CFFileSecurityCreate(_:)

Creates a CFFileSecurityRef object.

Declaration

func CFFileSecurityCreate(_ allocator: CFAllocator!) -> CFFileSecurity!

Parameters

allocator

The allocator to use to allocate memory for the new object. Pass NULL or kCFAllocatorDefault to use the current default allocator.

Return Value

Returns a new CFFileSecurityRef object, or NULL if an error occurred. Ownership follows the Create Rule.