Tenok
A Linux-like Real-Time Operating System for Robotics and Internet of Things
Functions
ioctl.h File Reference

Go to the source code of this file.

Functions

int ioctl (int fd, unsigned int request, unsigned long arg)
 Perform device-specific control. More...
 

Function Documentation

◆ ioctl()

int ioctl ( int  fd,
unsigned int  request,
unsigned long  arg 
)

Perform device-specific control.

Parameters
fdThe file descriptor number of the file.
requestThe request command to perform.
argThe argument to pass with the request.
Return values
int0 on success and nonzero error number on error.