| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| I have run into a rather strange problem I can't get my head around. I have a program that works correctly when run from Xcode or Finder, but if I try to debug it a certain section of code fails every time. I am simply opening a CD using opendev() than calling ioctl() to read the disc's TOC: _fd = opendev((char *)[[self deviceName] fileSystemRepresentation], O_RDONLY | O_NONBLOCK, 0, NULL); if(-1 == ioctl([self fileDescriptor], DKIOCCDREADTOC, &cd_read_toc)) { 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? 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
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.