Bug 272227

Summary: mempcpy(3) lacks HISTORY and STANDARDS entries
Product: Documentation Reporter: Brooks Davis <brooks>
Component: Manual PagesAssignee: Gordon Bergling <gbe>
Status: Closed FIXED    
Severity: Affects Some People CC: doc, emaste, gbe, pat
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://reviews.freebsd.org/D42630

Description Brooks Davis freebsd_committer freebsd_triage 2023-06-26 17:37:27 UTC
mempcpy is documented in memcpy.3, but the manpage lacks STANDARDS (it's a glibc-ism) and HISTORY (added in 2021 and present in at least on 13.x release).
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-11-18 09:10:10 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=8c8ffe541eabb23e21ddffb534ecda7ac6d7e04a

commit 8c8ffe541eabb23e21ddffb534ecda7ac6d7e04a
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2023-11-18 09:09:40 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2023-11-18 09:09:40 +0000

    Add a HISTORY section for memcpy(3) and mempcpy(3)

    The memcpy() function first appeared in AT&T System V UNIX and was
    reimplemented for 4.3BSD-Tahoe. The mempcpy() function first appeared in
    FreeBSD 13.1.

    PR:     272227
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D42630

 lib/libc/string/memcpy.3 | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-11-25 08:25:47 UTC
A commit in branch stable/14 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=7041faf5a5bcd6d49d382edafb313aa8c9726791

commit 7041faf5a5bcd6d49d382edafb313aa8c9726791
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2023-11-18 09:09:40 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2023-11-25 08:25:03 +0000

    Add a HISTORY section for memcpy(3) and mempcpy(3)

    The memcpy() function first appeared in AT&T System V UNIX and was
    reimplemented for 4.3BSD-Tahoe. The mempcpy() function first appeared in
    FreeBSD 13.1.

    PR:     272227
    Differential Revision:  https://reviews.freebsd.org/D42630

    (cherry picked from commit 8c8ffe541eabb23e21ddffb534ecda7ac6d7e04a)

 lib/libc/string/memcpy.3 | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-11-25 08:25:48 UTC
A commit in branch stable/13 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=b54addc27ceb76abf9b4aeec3bca924e9599169f

commit b54addc27ceb76abf9b4aeec3bca924e9599169f
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2023-11-18 09:09:40 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2023-11-25 08:25:25 +0000

    Add a HISTORY section for memcpy(3) and mempcpy(3)

    The memcpy() function first appeared in AT&T System V UNIX and was
    reimplemented for 4.3BSD-Tahoe. The mempcpy() function first appeared in
    FreeBSD 13.1.

    PR:     272227
    Differential Revision:  https://reviews.freebsd.org/D42630

    (cherry picked from commit 8c8ffe541eabb23e21ddffb534ecda7ac6d7e04a)

 lib/libc/string/memcpy.3 | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)