GPIOMAXPIN
if (ioctl(fd, GPIOMAXPIN, &maxpins) < 0) {
if (ioctl(handle, GPIOMAXPIN, &maxpins) < 0)
case GPIOMAXPIN: