[PATCH v1] Added string conversion utility functions

Bill Spitzak spitzak at gmail.com
Fri Nov 21 13:14:32 PST 2014



On 11/21/2014 11:48 AM, Daniel Stone wrote:
> On 21 November 2014 19:31, Bill Spitzak <spitzak at gmail.com
> <mailto:spitzak at gmail.com>> wrote:
>
>     It is useful to pass -1 for strtoul and this should continue to
>     work. It is the only easily-recognized value for "largest number
>     possible".
>
>
> Other than ~0UL, ~0ULL, ULONG_MAX, etc ...

That's a good point except strtoul does not parse those. It does parse -1.




More information about the wayland-devel mailing list