• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Launchd API documentation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Launchd API documentation
      • From: Quinn <email@hidden>
  • Prev by Date: Re: Kext Load on demand and daemon communication
  • Next by Date: Re: Kext Load on demand and daemon communication
  • Previous by thread: Re: Kext Load on demand and daemon communication
  • Next by thread: Re: Launchd API documentation
  • Index(es):
    • Date
    • Thread