What would need to be changed to create a new standard stream?
1
vote
1
answer
295
views
Hopefully this question isn't too abstract, it touches on a bunch of software throughout the stack.
We all know about /dev/stdin, /dev/stdout, and /dev/stderr. What if I wanted to create a new standard stream, /dev/stdjson? What software would need to support that? I'm assuming that I don't *need* to pass a file descriptor to /dev/stdjson to every program, that they can open that stream on an as-needed basis. So where could you add a new standard stream? Would it need to be a kernal module, a part of the shell?
Asked by Alex Davies
(31 rep)
Aug 22, 2021, 07:51 PM
Last activity: Aug 22, 2021, 08:16 PM
Last activity: Aug 22, 2021, 08:16 PM