]> git.ipfire.org Git - thirdparty/glibc.git/commit
support: Add xdup
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 8 Nov 2024 17:33:47 +0000 (12:33 -0500)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 12 Nov 2024 15:19:58 +0000 (10:19 -0500)
commit04b1eb161fdc8b88876bf78b34d2bb92584aba45
tree0f6e2a4565f455c2b954cdcef7b175a7a1daaaae
parentab4388f91c291b10c22c69919689fe9c3f6bebbd
support: Add xdup

Add xdup as the error-checking version of dup for test cases.

Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
support/Makefile
support/xdup.c [new file with mode: 0644]
support/xunistd.h