DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Writing a SCSI host adapter driver

ioctl routine

The ioctl(D2osdi) routine of the Sram driver is merely a stub. The switch statement is coded so that, if an ioctl( ) call is received, the driver sets u.u_error to EINVAL and returns -1. This ensures a graceful failure.


© 2005 The SCO Group, Inc. All rights reserved.