• 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
Re: Is this program open?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Is this program open?
      • From: Darkshadow <email@hidden>
References: 
 >Is this program open? (From: John Stiles <email@hidden>)
 >Re: Is this program open? (From: "Tom Harrington" <email@hidden>)
 >Re: Is this program open? (From: John Stiles <email@hidden>)
 >Re: Is this program open? (From: "Tom Harrington" <email@hidden>)
 >Re: Is this program open? (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Is this program open?
  • Next by Date: NSArrayController and programatic add
  • Previous by thread: Re: Is this program open?
  • Next by thread: Re: Is this program open?
  • Index(es):
    • Date
    • Thread