Contents

xpc_string_create_with_format_and_arguments(_:_:)

Creates an XPC object that represents a C-string that the specified format string and argument list pointer generate.

Declaration

func xpc_string_create_with_format_and_arguments(_ fmt: UnsafePointer<CChar>, _ ap: CVaListPointer) -> xpc_object_t

Parameters

  • fmt:

    The printf(3)-style format string from which to construct the final C-string to be boxed.

  • ap:

    A pointer to the arguments which correspond to those specified in the format string.

Return Value

A new string object.

See Also

String objects