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)
Fri, Apr 10, 12:50 AM
Unknown Object (File)
Tue, Apr 7, 5:29 PM
Unknown Object (File)
Tue, Apr 7, 3:27 AM
Unknown Object (File)
Sun, Apr 5, 2:27 PM
Unknown Object (File)
Sun, Apr 5, 3:45 AM
Unknown Object (File)
Fri, Apr 3, 11:25 AM
Unknown Object (File)
Sun, Mar 29, 12:46 PM
Unknown Object (File)
Mar 14 2026, 3:46 PM
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.