Hi,
I must miss something...
Looking at these prototypes
unsigned long simple_strtoul(const char *cp, char **endp,unsigned int base)
unsigned long long memparse (char *ptr, char **retptr)
I'm really wondering why not all parameters are not all 'const'. None
of these functions modify any pointe
Francis Moreau wrote:
Hi,
I must miss something...
Looking at these prototypes
unsigned long simple_strtoul(const char *cp, char **endp,unsigned int base)
unsigned long long memparse (char *ptr, char **retptr)
I'm really wondering why not all parameters are not all 'const'. None
of these func
Hi,
On 2/19/07, H. Peter Anvin <[EMAIL PROTECTED]> wrote:
Francis Moreau wrote:
> Hi,
>
> I must miss something...
>
> Looking at these prototypes
>
> unsigned long simple_strtoul(const char *cp, char **endp,unsigned int base)
> unsigned long long memparse (char *ptr, char **retptr)
>
> I'm real
Francis Moreau wrote:
> unsigned long simple_strtoul(const char *cp, char **endp,unsigned
int base)
hm, I don't get your point. I understand why we cast 'cp' into a (char
*) but that's not my point. My point is why aren't all function
parameters are not const ?
'cp' can be passed as const, b
On 2/19/07, Avi Kivity <[EMAIL PROTECTED]> wrote:
Francis Moreau wrote:
>> > unsigned long simple_strtoul(const char *cp, char **endp,unsigned
>> int base)
>
> hm, I don't get your point. I understand why we cast 'cp' into a (char
> *) but that's not my point. My point is why aren't all function
5 matches
Mail list logo