Launchd API documentation
Launchd API documentation
- Subject: Launchd API documentation
- From: Todd Heberlein <email@hidden>
- Date: Tue, 16 Oct 2007 12:49:17 -0700
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:
This email sent to email@hidden