Name

SPVM::Sys::Ioctl - ioctl System Call

Usage

use Sys::Ioctl;

Description

Sys::Ioctl is the class for the ioctl function.

Class Methods

ioctl

static method ioctl : int ($fd : int, $request : int, $request_arg = undef : object of Byte|Short|Int|Long|Float|Double|object);

The ioctl() function manipulates the underlying device parameters of special files. In particular, many operating characteristics of character special files (e.g., terminals) may be controlled with ioctl() requests. The argument d must be an open file descriptor.

See the ioctl function in Linux.

On Windows, ioctl calls ioctlsocket.

See the ioctlsocket function in Windows.