22 ms·
> Sadly, there’s no > /dev/reads-and-writes-block-forever Maybe not in /dev/, but if you make two named pipes ("mkfifo") you can read from one and write to th
by Izkata 3y ago
> Sadly, there’s no
> /dev/reads-and-writes-block-forever
Maybe not in /dev/, but if you make two named pipes ("mkfifo") you can read from one and write to the other, and they'll block since nothing is attached to the other end.
Not perfect, but possible.
- hawski 3y agoFor read yes, but for writes it will not block until the pipe buffer is filled.