Tutorials Point

Google
Web This Site

  Perl Home

  PERL Functions

© 2006 TutorialsPoint.COM


  Home     References     About TP     Advertising  

PERL ioctl Function


Syntax

ioctl FILEHANDLE, FUNCTION, SCALAR


Definition and Usage

Performs the function FUNCTION using the system function ioctl( ), using SCALAR to set or receive information when appropriate. The available values for FUNCTION are completely system independent. You should refer to your ioctl.h C header file, if you have one available, for suitable values.

Return Value

  • undef on failure otherwise 0 but true if the return value from the ioctl( )is 0

Example

NA



Printer Friendly



  

Advertisement