Function

xpc_endpoint_create

Declaration

xpc_endpoint_t xpc_endpoint_create(xpc_connection_t connection);

Parameters

connection

Only connections obtained through calls to xpc_connection_create*() may be given to this API. Passing any other type of connection is not supported and will result in undefined behavior.

Return Value

A new endpoint object.

Discussion

Creates a new endpoint from a connection that is suitable for embedding into messages.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software