cc -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations wchar/wcslcpy.c -o wchar/wcslcpy -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt -lcrypt -latomic wchar/wcslcpy.c:5:69: error: ‘wcslcpy’ undeclared here (not in a function); did you mean ‘wcsncpy’? 5 | size_t (*foo)(wchar_t *restrict, const wchar_t *restrict, size_t) = wcslcpy; | ^~~~~~~ | wcsncpy