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 mach_port_deallocate()?




On Apr 21, 2008, at 5:50 PM, stephen joseph butler wrote:

egrep -R mach_port_deallocate /usr/include

Oh I forgot to try that.

It would appear to be in mach/mach_port.h (at least on 10.5).

I used to try to include the actual file I needed, but that seemed to break the Frameworks thing. So what I really should have asked was, what should I include in my Cocoa app to get mach_port_deallocate()?


However, I found some sample code that used:

#include <mach/mach.h>


Thanks!

--
Rick

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Where is mach_port_deallocate()? (From: Rick Mann <email@hidden>)
 >Re: Where is mach_port_deallocate()? (From: "stephen joseph butler" <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.