Page MenuHomeFreeBSD

bcopy(3) is deprecated, update the manpage.
ClosedPublic

Authored by araujo on Aug 11 2015, 2:54 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 26, 6:54 PM
Unknown Object (File)
Jan 25 2026, 9:28 AM
Unknown Object (File)
Jan 25 2026, 2:24 AM
Unknown Object (File)
Jan 20 2026, 2:02 PM
Unknown Object (File)
Dec 20 2025, 4:10 AM
Unknown Object (File)
Dec 16 2025, 11:45 AM
Unknown Object (File)
Nov 23 2025, 10:12 PM
Unknown Object (File)
Nov 21 2025, 1:54 AM
Subscribers

Details

Summary

This function is deprecated (marked as LEGACY in POSIX.1-2001): use
memcpy(3) or memmove(3) in new programs. Note that the first two
arguments are interchanged for memcpy(3) and memmove(3.) POSIX.1-2008
removes the specification of bcopy.()

We shall update the bcopy(3) manpage.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

araujo retitled this revision from to bcopy(3) is deprecated, update the manpage..
araujo updated this object.
araujo edited the test plan for this revision. (Show Details)
araujo added reviewers: bapt, rodrigc, kib, wblock.
rodrigc edited edge metadata.

This looks OK.
In addition, it would not hurt to run the textproc/igor port to verify that your man page changes are OK.

lib/libc/string/bcopy.3
71 ↗(On Diff #7831)

A space is needed before the period:

.Xr memmove 3 .
73 ↗(On Diff #7831)

A space is needed before the period here also:

.Fn bcopy .

This looks OK.
In addition, it would not hurt to run the textproc/igor port to verify that your man page changes are OK.

Hi @rodrigc, thank you for the suggestion.
I did run igor and mandoc to test it.

All the best.