CFFileSecurityCreateCopy(_:_:)
Creates a copy of a CFFileSecurityRef object.
Declaration
func CFFileSecurityCreateCopy(_ allocator: CFAllocator!, _ fileSec: CFFileSecurity!) -> CFFileSecurity!Parameters
- allocator:
The allocator to use to allocate memory for the new object. Pass
NULLor Kcfallocatordefault to use the current default allocator. - fileSec:
The
CFFileSecurityRefobject to copy.
Return Value
Returns a new CFFileSecurityRef object, or NULL if an error occurred. Ownership follows the Create Rule.
See Also
Functions
CFAllocatorAllocateBytes(_:_:_:)CFAllocatorAllocateTyped(_:_:_:_:)CFAllocatorReallocateBytes(_:_:_:_:)CFAllocatorReallocateTyped(_:_:_:_:_:)CFAttributedStringGetBidiLevelsAndResolvedDirections(_:_:_:_:_:)CFBundleCopyLocalizedStringForLocalizations(_:_:_:_:_:)CFBundleIsArchitectureLoadable(_:)CFBundleIsExecutableLoadable(_:)CFBundleIsExecutableLoadableForURL(_:)CFCopyHomeDirectoryURL()CFDateFormatterCreateISO8601Formatter(_:_:)CFFileSecurityClearProperties(_:_:)CFFileSecurityCopyAccessControlList(_:_:)CFFileSecurityCopyGroupUUID(_:_:)CFFileSecurityCopyOwnerUUID(_:_:)