cc -pthread -Wall -Wextra -Werror=implicit-function-declaration sys_mman/munlockall.c -o sys_mman/munlockall -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lnetwork -lbsd -latomic sys_mman/munlockall.c: In function 'main': sys_mman/munlockall.c:10:14: error: implicit declaration of function 'mlockall'; did you mean 'mlock'? [-Werror=implicit-function-declaration] 10 | if ( mlockall(MCL_CURRENT | MCL_FUTURE) < 0 ) | ^~~~~~~~ | mlock sys_mman/munlockall.c:10:23: error: 'MCL_CURRENT' undeclared (first use in this function) 10 | if ( mlockall(MCL_CURRENT | MCL_FUTURE) < 0 ) | ^~~~~~~~~~~ sys_mman/munlockall.c:10:23: note: each undeclared identifier is reported only once for each function it appears in sys_mman/munlockall.c:10:37: error: 'MCL_FUTURE' undeclared (first use in this function) 10 | if ( mlockall(MCL_CURRENT | MCL_FUTURE) < 0 ) | ^~~~~~~~~~ sys_mman/munlockall.c:16:14: error: implicit declaration of function 'munlockall'; did you mean 'munlock'? [-Werror=implicit-function-declaration] 16 | if ( munlockall() < 0 ) | ^~~~~~~~~~ | munlock cc1: some warnings being treated as errors