Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Launchd API documentation



Is there *any* documentation for the launchd APIs?


There is a fair amount of documentation regarding the philosophy of Apple's launchd service and how to set up the .plist and where to place them, but I couldn't find a lot of (or any) documentation on when and how we should use the APIs in launch.h.


The reason I ask is that I wrote a simple network service written in C ++ that reads in input from cin, writes the information back out cout, and appends the same information in a file. It makes no assumptions about how it is started (i.e., via command line or as a network service). Everything works fine.

BUT when I added a getauid() or setauid() to get/set Audit IDs I get very strange results. I need to figure out if I am doing something wrong by *not* calling the launchd APIs, or is there something wrong with the audit APIs.

Any help would be appreciated,

Todd

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-kernel/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.