Skip to content

Commit

Permalink
man: Add closefrom(), strlcpy() and strlcat() as superseded functions
Browse files Browse the repository at this point in the history
These were missing from the list of functions provided by some libc
implementation.
  • Loading branch information
guillemj committed Jan 8, 2024
1 parent 304a1f8 commit 9275d13
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions man/libbsd.7
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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 ,
Expand Down

0 comments on commit 9275d13

Please sign in to comment.