MCPcopy Create free account
hub / github.com/eggert/tz / size_overflow

Function size_overflow

zdump.c:117–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117ATTRIBUTE_NORETURN static void
118size_overflow(void)
119{
120 fprintf(stderr, _("%s: size overflow\n"), progname);
121 exit(EXIT_FAILURE);
122}
123
124/* Return A + B, exiting if the result would overflow either ptrdiff_t
125 or size_t. A and B are both nonnegative. */

Callers 3

sumsizeFunction · 0.70
tzallocFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected