Xref: utzoo comp.windows.x:31123 alt.sys.sun:2430 Path: utzoo!utgpu!cs.utexas.edu!tut.cis.ohio-state.edu!mstar!mstar.morningstar.com!bob From: bob@MorningStar.Com (Bob Sutterfield) Newsgroups: comp.windows.x,alt.sys.sun Subject: Re: xcdplayer; a program to play audio cd discs on suns Message-ID: Date: 3 Jan 91 20:38:07 GMT References: Sender: usenet@MorningStar.COM (USENET Administrator) Reply-To: bob@MorningStar.Com (Bob Sutterfield) Followup-To: alt.sys.sun Organization: Morning Star Technologies Lines: 11 In-Reply-To: rusty@belch.Berkeley.EDU's message of 3 Jan 91 01:19:10 GMT In article rusty@belch.Berkeley.EDU (Rusty Wright) writes: It's not likely to compile on any other OS or anything prior to SunOS 4.0 due to the ioctl's for the CD-ROM drive. Are you using SunOS 4.1? Under 4.0.3c, the ioctl(cdrom_fd, CDROMREADTOCHDR, (char *) tochdr) in cdrom_read_tochdr() returns ioctl(cdromreadtochdr): Inappropriate ioctl for device even though it's just like the example in /usr/demo/cdrom/cdrom.c. Sigh... my 4.1.1 CD might arrive someday soon...