Beyond errno: Error Handling in “C”

  • David Svoboda
  • Published 2016 in 2016 IEEE Cybersecurity Development (SecDev)

Abstract

This tutorial covers error handling in C. In many modern languages the recommended mechanism for error handling is exceptions, but C does not support exceptions. Due to its age, C has acquired a plethora of technologies for handling errors. These range from return codes, errno, and abort() to more esoteric techniques like goto chains, setjmp()/longjmp… (More)

Cite this paper

@article{Svoboda2016BeyondEE, title={Beyond errno: Error Handling in “C”}, author={David Svoboda}, journal={2016 IEEE Cybersecurity Development (SecDev)}, year={2016}, pages={161-161} }