Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 13 Oct 2021 16:22:22 +0200
From: Shiz <>
Subject: Re: strtoll() incompatibility


> ...
> I don't know what the standard prescribes for this family of functions (I just
> registered an account at Open Group to download the standard),

No need to register, you can view the standard online here:

> but from the
> common sense point of view a string not containing a number for these functions
> is a valid argument, so responding with EINVAL does not seems to be right.


These functions shall fail if:

  [CX] The value of base is not supported. 
  The value to be returned is not representable.
  These functions may fail if:

  No conversion could be performed.

> -- 
> (GM)

- Shiz

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.