Hacker News new | ask | show | jobs
by bawolff 1375 days ago
What about an ioctl that lets you query what formats are accepted by the file descriptor? We already sort of have a precedent for it with giving different output based on isatty().