Shims for common C functions that suicide on error.