Products
and Services Support
and Docs Training Partner Programs About Red
Hat
  download storecart
red hat logo
redhat.comredhat network

Red Hat Documentation

Overview | HOWTOs | mini-HOWTOs | FAQs | Linux Man-Pages

The Linux SCSI programming HOWTO: Ioctl Functions Next Previous Contents

12. Ioctl Functions

There are two ioctl functions available:

  • ioctl(fd, SG_SET_TIMEOUT, &Timeout); sets the timeout value to Timeout * 10 milliseconds. Timeout has to be declared as int.
  • ioctl(fd, SG_GET_TIMEOUT, &Timeout); gets the current timeout value. Timeout has to be declared as int.


Next Previous Contents

 

 


 
© 2001 Red Hat, Inc. All rights reserved.
About Red Hat  :  Legal statement  :  Privacy statement  :  Y2K statement  :  Contact Red Hat