Creates a copy of a CFFile
object.
SDKs
- iOS 5.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Core Foundation
Declaration
func CFFileSecurityCreateCopy(_ allocator: CFAllocator!, _ fileSec: CFFile Security!) -> CFFile Security!
Parameters
allocator
The allocator to use to allocate memory for the new object. Pass
NULL
ork
to use the current default allocator.CFAllocator Default fileSec
The
CFFile
object to copy.Security Ref
Return Value
Returns a new CFFile
object, or NULL
if an error occurred. Ownership follows the Create Rule.