[prev in list] [next in list] [prev in thread] [next in thread]
List: gnulib-bug
Subject: Re: ULONG_MAX on Solaris
From: Simon Josefsson <jas () extundo ! com>
Date: 2005-12-09 11:06:21
Message-ID: ilu7jaeo7gy.fsf () latte ! josefsson ! org
[Download RAW message or body]
Ben Pfaff <blp@cs.stanford.edu> writes:
> Simon Josefsson <jas@extundo.com> writes:
>
>> has ULONG_MAX in limits.h but not in stdlib.h. I believe C89 it to be
>> in stdlib.h.
>
> I don't think so. In a quick search through C99, I only saw
> ULONG_MAX mentioned as being defined in <limits.h>. I don't
> think C89 was different.
You are probably right, I was confused by the K&R book, it's only
reference for ULONG_MAX was inside the stdlib.h section. But I see
that it is documented under limits.h, and that is probably the correct
place. The strtoul description should probably have mentioned that
ULONG_MAX is in limits.h.
Problem solved. Thanks!
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic