Any special linking for _NSGetExecutablePath on OSX?

Nick Sabalausky a at a.a
Thu Jul 8 16:24:52 PDT 2010


I need to use OSX's _NSGetExecutablePath, and I've declared it:

extern(C) int _NSGetExecutablePath(char* buf, uint* bufsize);

I don't have access to a OSX box to test it on ATM, so I need to know: Is 
there anything I need to tell the linker (like, anything special I need to 
explicitly link in) in order to get that to work, or should it "just work"? 
(ie, is whatever library is needed for that already linked by default?)




More information about the Digitalmars-d-learn mailing list