misleading note in https://man7.org/linux/man-pages/man3/bstring.3.html

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

 



Hello!

The note section in https://man7.org/linux/man-pages/man3/bstring.3.html says:

The functions*bcmp*(),*bcopy*(), and*bzero*() are obsolete.  Use
       *memcmp*(),*memcpy*(), and*memset*() instead.

The std-replacement replacement for bcopy() in NOT memcpy() but memmove().
Thus it should say:

The functions*bcmp*(),*bcopy*(), and*bzero*() are obsolete.  Use
       *memcmp*(),*memmove*(), and*memset*() instead.

Regards, Aaron Peter Bachmann




[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