aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/dup2.c
AgeCommit message (Collapse)Author
2023-01-06Update copyright dates with scripts/update-copyrightsJoseph Myers
2022-12-07Linux: consolidate dup2 implementationAdhemerval Zanella Netto
Use dup2 syscall if defined, otherwise use dup3. Checked on x86_64-linux-gnu. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>