memmem argument order reversed in bstring man page

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

 



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.

Emil Fihlman



[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