c exceptions
André Albergaria Coelho via Libc-alpha <[email protected]> Fri, 21 Apr 2023 00:19:35 +0100
| Newsgroups | gmane.comp.lib.glibc.alpha,gmane.linux.kernel,gmane.linux.debian.devel.security |
|---|---|
| Message-ID | <AM6PR03MB528239C7196AAD361FC61D2793639@AM6PR03MB5282.eurprd03.prod.outlook.com> |
what about if we use, on the c language, exceptions?
use it on a compiler flag, like gcc -exceptions
use a pointer function , to handle the exception (as in Java, catch{})
use macro to define which function has exceptions
does the exception throws another exception?
what happens to the call stack? can we print it
what happens to the stack? (if a function is used as a catch statement
Is the exception executed on a {} block?
thanks for time,
andre