IO exception handling in stdlib #154
Labels
area:cil-interop
Related to CIL (.NET) interop
area:standard-support
Related to the C standard support
area:stdlib
C standard library implementation
good-first-issue
An issue considered simple enough for new contributors
hacktoberfest
kind:feature
New feature or request
status:help-wanted
Open for contributors
Certain stdlib functions are documented to return various error codes. For example,
putc
should returnEOF
in case an error occurs.But how could it signal the exact exception kind, and exception information?
Ideally, I'd like to store it somewhere together with the last error code, and expose for the user program if possible.
We should check what the standard says on error codes and how errors generally behave, and invent a similarly-behaving extension that exposes the structured exception information.
See
// TODO[#154]
in the code when implementing this.The text was updated successfully, but these errors were encountered: