This morning I learned that using ioctl() from rust is really really hard! Rust uses macros to dynamically generate ioctl-specific getter/setter functions ... but it assumes that the size in the signature of the ioctl is the same as the size of the data-type to be passed.
-
-
Anyway, if you want to learn Rust really deeply and get into the murky parts; set yourself the goal of setting and getting some ioctl()s!
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.