The GPL forces every code using your library to also use GPL. Please consider using a more permissive license like Expat, BSD, or at least LGPL.
The ioctl.h header file is licensed under GPL-2.0 WITH Linux-syscall-note and due to the Linux-syscall-note your library can use whatever license you want.