All of lore.kernel.org
 help / color / mirror / Atom feed
* misleading note in https://man7.org/linux/man-pages/man3/bstring.3.html
@ 2022-12-30 22:43 Aaron Peter Bachmann
  2022-12-30 23:05 ` Alejandro Colomar
  0 siblings, 1 reply; 4+ messages in thread
From: Aaron Peter Bachmann @ 2022-12-30 22:43 UTC (permalink / raw)
  To: mtk.manpages; +Cc: linux-man

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-10 19:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-30 22:43 misleading note in https://man7.org/linux/man-pages/man3/bstring.3.html Aaron Peter Bachmann
2022-12-30 23:05 ` Alejandro Colomar
2023-01-10  8:17   ` Sam James
2023-01-10 19:08     ` Alejandro Colomar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.