Re: Getting a file path of dylib
site_archiver@lists.apple.com Delivered-To: Darwin-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; b=pFMBr3KpRYGOTxSxwvNCXUam16uFOWnV9Ni/P9ReuMM+jTV5Zm32VpafnrKV5ASjleLpvhdjz8ziw5/bGGQv1Wl0gsaF04UE42KsiFXSizeayX4PVnoUpZIqtKCDZZEXKmeVV513HUTOGThSrJHSKnH3ZVLTGnJg8A1mzXPrBqY= ; I think dladdr () will do what you want (in dlfcn.h). See man dladdr. ¿.) Jason Watts On May 7, 2008, at 11:35 AM, David Alter wrote: thanks for the help -dave _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/jjwatts%40sbcglobal.net _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... s there a way to get the file path of a dylib from within the dylib. I do NOT want the path of the executable that loads it I want the path of the dylib its self. This email sent to jjwatts@sbcglobal.net This email sent to site_archiver@lists.apple.com
participants (1)
-
Jason Watts