Re: Issue in man page bcmp.3.

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

 



Hi Helge,

On Wed, Nov 01, 2023 at 02:02:12PM +0000, Helge Kreutzmann wrote:
> Without further ado, the following was found:
> 
> Issue:    Who is "it"?
> "B<bcmp>()  is identical to B<memcmp>(3); use it instead."

Considering that the rest of the page is there just to say this function
is deprecated and even removed from POSIX, I guess a suggestion to use
'it' can only mean use the other one, that is, memcmp(3).

Here's the entire page:

	bcmp(3)                Library Functions Manual                bcmp(3)

	NAME
	     bcmp - compare byte sequences

	LIBRARY
	     Standard C library (libc, -lc)

	SYNOPSIS
	     #include <strings.h>

	     [[deprecated]] int bcmp(const void s1[.n], const void s2[.n], size_t n);

	DESCRIPTION
	     bcmp() is identical to memcmp(3); use it instead.

	STANDARDS
	     None.

	HISTORY
	     4.3BSD.    Marked   as   LEGACY   in   POSIX.1‐2001;  removed  in
	     POSIX.1‐2008.

	SEE ALSO
	     memcmp(3)

	Linux man‐pages (unreleased)    (date)                         bcmp(3)

Cheers,
Alex

-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature


[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