On 10/20/21 11:01 PM, Graham Leggett wrote:
> On 20 Oct 2021, at 10:43, Yann Ylavic <ylavic....@gmail.com> wrote:
> 
>> apr_strnstr() maybe, strnstr() is non-standard AFAICT and possibly not
>> available on all platforms (Windows)?
> 
> This needs to be memmem really, as the boundary isn’t always a string.

But I guess in this case you need to replace strncmp with memcmp as well, 
correct?

Regards

Rüdiger

Reply via email to