You are not logged in.
Revised man (2) ioctl_vt (about virtual terminal control).
The Linux man-page of ioctl_vt.2 describes various ioctl's that control virtual terminals (VT).
Currently it's terrible and quite useless, and I fully revised it. You can download my version from here. To read it, do $ man ./ioctl_vt.2. (Don't drop the preceding ./, dot-slash.)
Unfortunately the upstream doesn't accept my patch, so this is all I can do. For details, see my repo at GitLab here.
(Perhaps very few people are interested ATM. I'm posting it here for searchability, so that someone who needs it in the future can find it.)
Best regards.
Easy Shift / Ctrl / AltGr ... hack; save your pinkies, type without drudgery.
YYYY-MM-DD, period. (Have you ever used the Internet?)
Offline
Signature of ioctl() in glibc is
int ioctl(int, unsigned long int, ...);Your man page states two different signatures. There is no function overloading in C, the same function can't have different signatures.
The example in your man page contains at least one issue: printf() is not async-signal-safe. It may work correctly in particular example but not in general case. Examples should be correct for general cases.
I think AI-assistance is not the only reason to refuse your pull request.
Offline