[TUHS] 8th Edition and /dev/stdio
Derek Fawcus
dfawcus+lists-tuhs at employees.org
Tue Apr 21 04:17:13 AEST 2020
On Mon, Apr 20, 2020 at 08:28:53AM -0600, arnold at skeeve.com wrote:
> See if there are man pages for /dev/fd/XXX. IIRC /dev/stdin was
> a symlink to /dev/fd/0, /dev/stdout to /dev/fd/1, /dev/stderr to /dev/fd/2,
> and, as a really nice generalization, /dev/tty to /dev/fd/4. For the
> latter, init(1) simply dup'ed the opened tty file descriptor one more
> time before exec-ing login.
So what happened to /dev/fd/3 ?
DF
More information about the TUHS
mailing list