Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > DVD ioctl in darwin?

DVD ioctl in darwin?
Thread Tools
Junior Member
Join Date: Oct 2000
Location: Dallas
Status: Offline
Reply With Quote
Mar 30, 2001, 05:32 PM
 
I am trying to compile decss on mac os x. The source code is written for linux or openbsd and tries to include either "linux/cdrom.h'' or "sys/dvdio.h'". Neither one is available on osx/darwin. Is there a corresponding header file available for macosx/darwin and are the dvd ioctls built into the kernel and are they accesible?

Thanks in advance.
     
Mac Enthusiast
Join Date: Sep 2000
Location: Cupertino, CA
Status: Offline
Reply With Quote
Mar 31, 2001, 11:51 PM
 
Originally posted by pjkim:
I am trying to compile decss on mac os x. The source code is written for linux or openbsd and tries to include either "linux/cdrom.h'' or "sys/dvdio.h'". Neither one is available on osx/darwin. Is there a corresponding header file available for macosx/darwin and are the dvd ioctls built into the kernel and are they accesible?

Thanks in advance.
IOKit is substantially different from those OSes drivers. You can look at the code for IODVDBlockDevice in the Darwin CVS Repository, and talk to it via its IOKit UserClient interface.

Louis


------------------
Louis Gerbarg
Darwin Developer
Louis Gerbarg
Darwin Developer
These are my views, and not the views of my employer.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:54 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2