Why u_char* not char*

merlin corey merlincorey at dc949.org
Wed Jul 15 01:40:50 MSD 2009


Hi,

What's the difference in storage of these types in memory?

Thanks,
Merlin

On Tue, Jul 14, 2009 at 1:56 PM, Marcus Clyne<maccaday at gmail.com> wrote:
> Hi,
>
> Why are strings in Nginx stored as u_char*'s and not char*'s pointers?
>  What's the advantage?
>
> Thanks,
>
> Marcus.
>
>





More information about the nginx mailing list