The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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_ref : object of byte[]|short[]|int[]|long[]|float[]|double[]|object = undef);

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.

ioctlsocket

static method ioctlsocket : int ($fd : int, $request : int, $request_arg_ref : int[] = undef);

See the ioctlsocket function in Windows.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License