bob@MorningStar.Com (Bob Sutterfield) (01/04/91)
In article <RUSTY.91Jan2171910@belch.Berkeley.EDU> 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...