MCPcopy Create free account
hub / github.com/coreutils/coreutils / strtoint_die

Function strtoint_die

src/split.c:1360–1365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1358/* Report a string-to-integer conversion failure MSGID with ARG. */
1359
1360static _Noreturn void
1361strtoint_die (char const *msgid, char const *arg)
1362{
1363 error (EXIT_FAILURE, errno == EINVAL ? 0 : errno, "%s: %s",
1364 gettext (msgid), quote (arg));
1365}
1366
1367/* Use OVERFLOW_OK when it is OK to ignore LONGINT_OVERFLOW errors, since the
1368 extreme value will do the right thing anyway on any practical platform. */

Callers 2

parse_n_unitsFunction · 0.85
parse_chunkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected