Contents

xpc_dictionary_set_fd(_:_:_:)

Inserts a file descriptor into a dictionary.

Declaration

func xpc_dictionary_set_fd(_ xdict: xpc_object_t, _ key: UnsafePointer<CChar>, _ fd: Int32)

Parameters

  • xdict:

    The dictionary which is to be manipulated.

  • key:

    The key for which the primitive value shall be set.

  • fd:

    The file descriptor to insert. After calling this method, the XPC object corresponding to the primitive value inserted may be safely retrieved with Xpc_dictionary_get_value(_:_:).

See Also

Dictionary objects