gcc -o ptmr_sigev_thread ptmr_sigev_thread.c error_functions.c get_num.c itimerspec_from_str.c curr_time.c
error_functions.c: In function ‘outputError’:
error_functions.c:54:35: warning: ‘%s’ directive output may be truncated writing up to 499 bytes into a region of size 495 [-Wformat-truncation=]
54 | snprintf(buf, BUF_SIZE, "ERROR%s %s\n", errText, userMsg);
| ^~ ~~~~~~~
error_functions.c:54:5: note: ‘snprintf’ output between 8 and 1006 bytes into a destination of size 500
54 | snprintf(buf, BUF_SIZE, "ERROR%s %s\n", errText, userMsg);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make test_4returns the following warnings: