Re: Implementation errors in strtol()

From: Clint Olsen <clint_at_0lsen.net>
Date: Thu, 20 Jan 2005 13:57:53 -0800
On Jan 21, Andrey Chernov wrote:
> In general please don't forget that strtol(), atol() etc. supposed to
> parse user input and _detect_ syntax errors, it is their purpose. If they
> not do it or do it in half, each program forced to use its own parser
> instead.

If you want to be sure about your interpretation of the standard, you could
inquire on comp.lang.c.  I'm sure you will get a complete answer on that
forum.

-Clint
Received on Thu Jan 20 2005 - 20:57:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:26 UTC