mirror of
https://github.com/openharmony/third_party_rust_linux-raw-sys.git
synced 2026-07-18 18:24:28 -04:00
9ea366f5d4
We've been collecting manual definitions of ioctl codes for a while, and it looks like we're going to be collecting more over time, so start trying a different strategy: use a script and a C program to extract ioctl values from the headers semi-automatically. The script itself isn't very easy to run, and I'm open to ideas for how to do it better. However, this should cover most of Linux's existing ioctls, so hopefully we won't need to run it very often.