why do i see THROW in a C library
Posted
by Bhagya
on Stack Overflow
See other posts from Stack Overflow
or by Bhagya
Published on 2010-03-21T08:16:38Z
Indexed on
2010/03/21
8:21 UTC
Read the original article
Hit count: 318
When I do: less /usr/include/stdio.h (which is only a C library - nothing to do with C++)
I see __THROW after quite a few function declarations. Also, comments above a few functions say that 'This function is a possible cancellation point and therefore not marked with __THROW' What is all this for?
THROW is meant to be for exception handling.. but as far as I know, C doesn't provide any support for it...
Plz explain.
© Stack Overflow or respective owner