Mailing Lists: Apple Mailing Lists

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

Re: Where is sysctl.proc_native documented? Other sysctl values?



Eric Albert <email@hidden> writes:

Please don't do anything like this.  That's completely unsupported and could break.  There's a documented way to figure out if you're running translated, and that's the only way you should check it.


Where is this method documented? And, more to the point... my original question... where is the sysctl.proc_native variable, and the values it can assume, documented?

If you mean the sample code at

http://developer.apple.com/documentation/MacOSX/Conceptual/universal_binary/universal_binary_exec_a/chapter_7_section_7.html

well, I don't think that code works. It probably doesn't work for trivial reasons, but... it doesn't work. And since I haven't found the documentation (or the header files or the source code) for that implement the sysctl.proc_native variable, I can only make plausible guesses about how to fix it.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Where is sysctl.proc_native documented? Other sysctl values? (From: Eric Albert <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.