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: future "safety" of MiG based projects



On May 5, 2004, at 9:54 AM, Jim Magee wrote:

Sorry for the delay responding,

On Apr 13, 2004, at 12:23 PM, David Leimbach wrote:
I noticed that on Panther the APIs for task_get_bootstrap_port are not "advertised" as they once were.

Officially, in Panther (i.e. Apple's Mac OS X product), they were never APIs. All Mach-ish things are SPIs in Apple products (with CFMachPort straddling the API/SPI line). But with that public service announcement aside, how has this interface's treatment changed in Panther? It is still there in <mach/task_special_ports.h> which is still reachable from:

#include <mach/mach.h> // the only Mach kernel header you should be including directly in applications

Are you somehow missing those files even after installing the developer packages? They should be there (and are on all my Panther machines). Or are you more concerned about the bootstrap_xxx() APIs themselves? These are published in:

#include <servers/bootstrap.h> // a set of services for registering and looking up mach ports "by name"

Yeah I finally tracked down where it was all coming from. I thought perhaps I was lucking out on the
C89 assumption that when a function has no prototype it is assumed to exist and return an int.


Thanks!

Dave
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: future "safety" of MiG based projects (From: Jim Magee <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.