Comment by Palomides 2 days ago it's not "glibc behavior", returning null on error is in the spec 1 comment Palomides Reply NewJazz 2 days ago To be fair the API is older than the POSIX spec.
To be fair the API is older than the POSIX spec.