Unrelated, but you have to check errno after calling strtol to detect invalid and out-of-range numbers reliably. _Originally posted by @nwellnhof in https://github.com/commonmark/cmark/issues/613#issuecomment-4553181190_
Unrelated, but you have to check errno after calling strtol to detect invalid and out-of-range numbers reliably.
Originally posted by @nwellnhof in #613 (comment)