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: DKIOCCDREADTOC ioctl() fails during debugging



On May 31, 2006, at 8:36 AM, Garth Cummings wrote:
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. ;-)

Ah, that would be helpful, wouldn't it! The error is 5:Input/output error. If you want to see the whole code in context it is on http:// svn.sourceforge.net/viewcvs.cgi/macaudiox/trunk/Drive/Drive.m? view=markup


Stephen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >DKIOCCDREADTOC ioctl() fails during debugging (From: "Stephen F. Booth" <email@hidden>)
 >Re: DKIOCCDREADTOC ioctl() fails during debugging (From: Garth Cummings <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.