clang -O2 -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations unistd/dup3.c -o unistd/dup3 -D_POSIX_C_SOURCE=202405L -lm -lintl unistd/dup3.c:5:29: error: use of undeclared identifier 'dup3' int (*foo)(int, int, int) = dup3; ^ 1 error generated. ../out/minix/include/unistd/dup3.o:(.data+0x0): undefined reference to `dup3' clang: error: linker command failed with exit code 1 (use -v to see invocation)