The former should be used according to POSIX, otherwise it causes bunches of warnings when compiling for musl-based distros like Alpine Linux.