GPIO_SET_CONFIG
if (ioctl(fd, GPIO_SET_CONFIG, &gpio) == 0) {
if (ioctl(fd, GPIO_SET_CONFIG, &gpio) < 0) {
if (ioctl(fd, GPIO_SET_CONFIG, &gpio) < 0) {
uint8_t bit = (cmd == GPIO_SET_CONFIG) ?
case GPIO_SET_CONFIG:
case GPIO_SET_CONFIG: