On 10/17/07, Frank Richter <[EMAIL PROTECTED]> wrote:
> On 17.10.2007 06:49, Nigel Liang wrote:
> > Hi,
> >
> > strchrW assumes a NULL-terminated string. May crash if terminating
> > character is
> > not found. memchrW is better because you can specify the maximum number of
> > bytes to search.
>
On 17.10.2007 06:49, Nigel Liang wrote:
> Hi,
>
> strchrW assumes a NULL-terminated string. May crash if terminating character
> is
> not found. memchrW is better because you can specify the maximum number of
> bytes to search.
On the flipside, memchrW() doesn't stop at a NUL...
-f.r.