Re: memmem argument order reversed in bstring man page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Emil,

On 1/3/19 10:11 AM, Emil Fihlman wrote:
Version 4.10.

man memmem
void *memmem(const void *haystack, size_t haystacklen,
                           const void *needle, size_t needlelen);

but

man bstring
void *memmem(const void *needle, size_t needlelen,
                           const void *haystack, size_t haystacklen);

I believe the first one, with haystack first, is the correct one.

Thanks. I fixed the bstring(3) page.

Cheers,

Michael



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux