I general functions from the C standard library must not throw, except for the ones taking function pointers that they execute.