Top "Ioctl" questions

ioctl (Input Output ConTroL) is a system call for device-specific I/O operations and other operations which cannot be expressed by regular system calls and it provides an interface through which an application can communicate directly with a device driver(or any other global kernel space variables).

porting ioctl() calls from unix to linux, error with FIONBIO

i want to use ioctl() to get the number of bytes ready to be read the way I did it …

c++ linux sockets ioctl
Beep on Linux in C

I want to generate a beep sound with a specific frequency and length (for different sound signals) using the system …

c linux ioctl beep external-dependencies
user mode permission denied to bind to socket

In user mode [non-root] on a linux machine, I am trying to bind a socket by using a ioctl(iInterfaceSocket, …

c sockets ioctl
why does ioctl return "bad address"

I use the the code below to output data from SPI port of an embedded board (olimex imx233-micro -- …

c linux posix ioctl
Using ioctl communication between Kernel mode and user mode

I want to communicate with my kernel module using ioctl. I have written two c program one for kernel module …

ubuntu-10.04 kernel-module ioctl
How to check if interface is up

Title pretty much says it all. If I run ifconfig, I get this: eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST&…

c++ linux ioctl
Send IOCTL to Windows device driver - CreateFile fails

I want to send an IOCTL command to a PC/SC reader connected to my computer (win7 64 bit). In order …

c++ windows driver device ioctl
What is the point of using the linux macro access_ok()

I've been doing some research and I'm a little confused about this macro. Hopefully someone can give me some guidance. …

c linux macros linux-kernel ioctl
Trouble Calling ioctl from user-space C

I'm trying to implement a program to access memory on an embedded system. I need to access some control register …

c linux-kernel ioctl
C/C++ Linux MAC Address of all interfaces

I am using the following code to retrieve all MAC addresses for current computer: ifreq ifr; ifconf ifc; char buf[1024]; …

c linux mac-address ioctl ifconfig