SLIOCGUNIT
if (ioctl(fd, SLIOCGUNIT, (caddr_t)&tmp_unit) < 0) {
if (ioctl(fd, SLIOCGUNIT, (caddr_t)&new_unit) < 0) {
if (ioctl(fd, SLIOCGUNIT, &unitnum) < 0) {
case SLIOCGUNIT:
if (ioctl(0, SLIOCGUNIT, &unit) < 0) {