1. list all ioctls (-l) 2. print the internal definition symbolically 3. search by name $ ioctlprint -f "%n %E %e\n" TIOCGETA TIOCGETA _IOR('t', 19, struct termios) _IOR('t',0x13,0x2c)