Contents

xpc_string_create(_:)

Creates an XPC object that represents a null-terminated C-string.

Declaration

func xpc_string_create(_ string: UnsafePointer<CChar>) -> xpc_object_t

Parameters

  • string:

    The C-string which is to be boxed.

Return Value

A new string object.

See Also

String objects