Originally posted by: randomwords
I am trying to write a small C program using the DKIOCMD ioctl to send a standard inquiry to a rhdisk or hdisk device. I am stuck getting an EINVAL errno condition from the ioctl when I run the program.
I attached the source. I would be very grateful for any assistance.
Thanks,
Paul