On Mon, 8 Jun 2026, Ansgar 🙀 wrote:
>Using sockets to back std{in,out,err} seems pretty common, for example
>the "inetd" superserver does so as do CGI scripts and many other
>things. It would be strange if POSIX was to forbid all of these?
Hmh, POSIX says applications write messages to it, and that was
what did not work. At that point, I didn’t realise that it was
only writing to /dev/stderr that failed, not writing to fd#2 in
general.
Even though, that needs to be fixed IMHO.
bye,
//mirabilos
--
“It is inappropriate to require that a time represented as
seconds since the Epoch precisely represent the number of
seconds between the referenced time and the Epoch.”
-- IEEE Std 1003.1b-1993 (POSIX) Section B.2.2.2