cc -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations stdlib/mkostemp.c -o stdlib/mkostemp -D_POSIX_C_SOURCE=202405L -lm -lpthread -liconv stdlib/mkostemp.c:5:27: error: use of undeclared identifier 'mkostemp'; did you mean 'mkstemp'? int (*foo)(char *, int) = mkostemp; ^~~~~~~~ mkstemp /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdlib.h:213:6: note: 'mkstemp' declared here int mkstemp(char *); ^ stdlib/mkostemp.c:5:7: error: incompatible function pointer types initializing 'int (*)(char *, int)' with an expression of type 'int (char *)' [-Werror,-Wincompatible-function-pointer-types] int (*foo)(char *, int) = mkostemp; ^ ~~~~~~~~ 2 errors generated.