Re: DKIOCCDREADTOC ioctl() fails during debugging
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On May 31, 2006, at 7:48 AM, Stephen F. Booth wrote: --gc ____________________________________________________________________ Garth Cummings gcummings@apple.com Sr. Software Engineer Apple Developer Technical Support <http://developer.apple.com/technicalsupport> _______________________________________________ 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... I've omitted the error handling code, but I do checking. opendev() works every time, but as I mentioned, ioctl() fails from the debugger. Any ideas why? What's the value of errno when ioctl returns -1? That's the biggest clue about what "fails" means in this case. ;-) This email sent to site_archiver@lists.apple.com
participants (1)
-
Garth Cummings