Re: Is this program open?
Re: Is this program open?
- Subject: Re: Is this program open?
- From: John Stiles <email@hidden>
- Date: Thu, 13 Apr 2006 14:14:46 -0700
On Apr 13, 2006, at 2:10 PM, John Stiles wrote:
On Apr 13, 2006, at 12:34 PM, Tom Harrington wrote:
When I had to do something similar, I used sysctl(3). Apple gives a
nice example of how to do this at
http://developer.apple.com/qa/qa2001/qa1123.html
This is a great reference. I will check this out. Thank you for the
info.
Wait, hold on. I was looking up kinfo_proc and found the following
warning:
http://developer.apple.com/qa/qa2004/qa1361.html
IMPORTANT: Because the definition of the kinfo_proc structure (in
<sys/sysctl.h>) is conditionalized by __APPLE_API_UNSTABLE, you
should restrict use of the above code to the debug build of your
program.
So maybe this is a bad idea...!?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden