Commit 9275d134e5f6101a4cf2e31cd2298605afe0a052

Guillem Jover 2024-01-08T23:39:19

man: Add closefrom(), strlcpy() and strlcat() as superseded functions These were missing from the list of functions provided by some libc implementation.

diff --git a/man/libbsd.7 b/man/libbsd.7
index 5d498cd..c239d5f 100644
--- a/man/libbsd.7
+++ b/man/libbsd.7
@@ -1,6 +1,6 @@
 .\" libbsd man page
 .\"
-.\" Copyright © 2017-2022 Guillem Jover <guillem@hadrons.org>
+.\" Copyright © 2017-2024 Guillem Jover <guillem@hadrons.org>
 .\"
 .\" Redistribution and use in source and binary forms, with or without
 .\" modification, are permitted provided that the following conditions
@@ -24,7 +24,7 @@
 .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
 .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd August 3, 2022
+.Dd January 8, 2024
 .Dt libbsd 7
 .Os
 .Sh NAME
@@ -240,6 +240,10 @@ This function is provided by
 2.26, and
 .Nm musl
 1.2.2.
+.It Xr closefrom 3bsd
+This function is provided by
+.Nm glibc
+2.34.
 .It Xr arc4random 3
 .It Xr arc4random_buf 3
 .It Xr arc4random_uniform 3
@@ -251,6 +255,13 @@ Note that it does not provide the
 and
 .Xr arc4random_addrandom 3
 functions.
+.It Xr strlcpy 3bsd
+.It Xr strlcat 3bsd
+These functions are provided by
+.Nm glibc
+2.38, and
+.Nm musl
+0.5.0.
 .El
 .Sh SEE ALSO
 .Xr arc4random 3bsd ,