Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
#include <unistd.h> /* System V */
#include <sys/ioctl.h> /* BSD and Linux */
int ioctl(int fd, int request, ...);
/* Returns: −1 on error, something else if OK */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment