Subject: Re: RFC: memmem(3)
To: Noriyuki Soda <soda@sra.co.jp>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-userlevel
Date: 03/03/2003 08:02:38
On Mon, Mar 03, 2003 at 11:18:46PM +0900, Noriyuki Soda wrote:
> >> void *
> >> memmem(const void *b1, const void *b2, size_t len1, size_t len2);
>
> glibc already has memmem(), but the order of its arguments is
> different as follows:
>
> : void *memmem(const void *haystack, size_t haystacklen,
> : const void *needle, size_t needlelen);
I personally have no problem with memmem(3) being included in libc, so long
as it is compatible with implementations of the same function in other systems.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>