From 9275d134e5f6101a4cf2e31cd2298605afe0a052 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Mon, 8 Jan 2024 23:39:19 +0100 Subject: [PATCH] man: Add closefrom(), strlcpy() and strlcat() as superseded functions These were missing from the list of functions provided by some libc implementation. --- man/libbsd.7 | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) 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 +.\" Copyright © 2017-2024 Guillem Jover .\" .\" 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 , -- 2.47.3