3 ms·
Redirection is dup2, opening files first where relevant. If all you do is open files and dup around descriptors, no file contents actually go anywhere.
by dllthomas 6y ago
Redirection is dup2, opening files first where relevant.
If all you do is open files and dup around descriptors, no file contents actually go anywhere.