> ioctl(fd, SETVOLUME, &vol); is more comfortable. no typechecking. no distribution. who defines all those constants?
i could have said:
echo volume 56 > /dev/bootchime/ctl
how comfortable is your ioctl then?
> ioctl(fd, SETVOLUME, &vol); is more comfortable. no typechecking. no distribution. who defines all those constants?
i could have said:
echo volume 56 > /dev/bootchime/ctl
how comfortable is your ioctl then?