Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

  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
 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "The Linux SCSI programming HOWTO". See Index Page for more info about Authorship and Copyright.

1999-2008 Linuxinfor.com. No rights reserved.