Module ioctl

Module ioctl 

Source
Expand description

ioctl 系统调用实现

ioctl (input/output control) 是一个多功能的系统调用,用于设备特定的控制操作。

Functions§

fs_error_to_errno 🔒
将 VFS 错误转换为 errno
handle_fioasync 🔒
FIOASYNC - 设置/清除异步 I/O 通知
handle_fionbio 🔒
FIONBIO - 设置/清除非阻塞 I/O 标志
handle_fionread 🔒
FIONREAD - 获取可读字节数
handle_ifreq 🔒
处理网络接口请求(ifreq 结构)
handle_siocgifconf 🔒
SIOCGIFCONF - 获取网络接口列表
handle_tiocgpgrp 🔒
TIOCGPGRP - 获取终端前台进程组 ID
handle_tiocsctty 🔒
TIOCSCTTY - 设置控制终端
handle_tiocspgrp 🔒
TIOCSPGRP - 设置终端前台进程组 ID
handle_vt_openqry 🔒
VT_OPENQRY - 查询可用的虚拟终端
ioctl
ioctl - 设备特定的输入/输出控制