]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Document memset_s(3). memset_s(3) is defined in
authorCy Schubert <cy@FreeBSD.org>
Fri, 16 Feb 2018 05:48:45 +0000 (05:48 +0000)
committerCy Schubert <cy@FreeBSD.org>
Fri, 16 Feb 2018 05:48:45 +0000 (05:48 +0000)
commita4d179eeb66b2990ca622ecb86df132a416526fd
tree078b09892952f1815de82c75e32fc47400dbf6c7
parent0b37d3d90ed3f4575ee4312f78f3646b0d3e58c5
Document memset_s(3). memset_s(3) is defined in
C11 standard (ISO/IEC 9899:2011) K.3.7.4.1 The memset_s function
(p: 621-622)

Fix memset(3) portion of the man page by replacing the first argument
(destination) "b" with "dest", which is more descriptive than "b".
This also makes it consistent with the term used in the memset_s()
portion of the man page.

See also http://en.cppreference.com/w/c/string/byte/memset.

Reviewed by: kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D13682
lib/libc/string/Makefile.inc
lib/libc/string/memset.3