[launchd-dev] The MachService key

Damien Sorresso dsorresso at apple.com
Wed Nov 23 12:46:18 PST 2011


On Nov 23, 2011, at 12:37 PM, Jerry Krinock wrote:
> Thank you, Damien.  With the two corrections you noted in your last two messages, my demo works now.
> 
> On 2011 Nov 23, at 10:39, Damien Sorresso wrote:
> 
>> I highly recommend checking out the man pages.
>> 
>> $ man xpc
> 
> Ah, I see now – man pageS – plural.  Although "man xpc" does not say very much, the SEE ALSO section at the bottom references a man page for each function.  These pages contain lots of how-to information, although some of them bring up the same page.

A single man page can contain references to many APIs. There are a handful of man pages that contain everything, and then there are hard links to those pages for the other various APIs. For example, xpc_connection_create(3) and xpc_connection_create_mach_service(3) are both discussed in /usr/share/man/man3/xpc_connection_create.3, so /usr/share/man/man3/xpc_connection_create_mach_service.3 is just a hard link to /usr/share/man/man3/xpc_connection_create.3.

Glad to hear things are working for you.
-- 
Damien Sorresso
dsorresso at apple.com 


More information about the launchd-dev mailing list