Proper way to log a fatal system error.
Proper way to log a fatal system error.Logs and audits a fatal system error, along with the explanation of the current value of errno. The user is notified and the current process is terminated. This is the function you should use in order to log a system error.