It's been 10 years since I wrote anything that used ioctl(). So please excuse the dumb question, but
what is the preferred replacement for it? From what I've gathered reading the article, it seems that
sysfs is the way to go. As long as the driver supports it. Is this a correct assumption?