Why do I see THROW in a C library?

后端 未结 3 547
旧时难觅i
旧时难觅i 2020-12-29 18:35

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 declarat

3条回答
  •  温柔的废话
    2020-12-29 18:50

    To answer your other question concerning "This function is a possible cancellation point and therefore not marked with __THROW": This deals with multi-threading. You can "cancel" a thread, but it won't actually "cancel" until it reaches a cancellation point. Some more info: http://www.kernel.org/doc/man-pages/online/pages/man3/pthread_cancel.3.html

提交回复
热议问题