• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: DKIOCCDREADTOC ioctl() fails during debugging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DKIOCCDREADTOC ioctl() fails during debugging


  • Subject: Re: DKIOCCDREADTOC ioctl() fails during debugging
  • From: Garth Cummings <email@hidden>
  • Date: Wed, 31 May 2006 08:36:11 -0700


On May 31, 2006, at 7:48 AM, Stephen F. Booth 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. ;-)


--gc

____________________________________________________________________
Garth Cummings					 email@hidden
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      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: DKIOCCDREADTOC ioctl() fails during debugging
      • From: "Stephen F. Booth" <email@hidden>
References: 
 >DKIOCCDREADTOC ioctl() fails during debugging (From: "Stephen F. Booth" <email@hidden>)

  • Prev by Date: Re: DADiskEject and Resource Busy errors
  • Next by Date: Re: DKIOCCDREADTOC ioctl() fails during debugging
  • Previous by thread: DKIOCCDREADTOC ioctl() fails during debugging
  • Next by thread: Re: DKIOCCDREADTOC ioctl() fails during debugging
  • Index(es):
    • Date
    • Thread