When using POSIXly functions, we need to define _POSIX_C_SOURCE, at