Calling them unconditionally can result in memory corruption.
Checking errno otherwise is unspecified.