Skip to content

Commit

Permalink
man: Mention that funopen() can be made available on musl
Browse files Browse the repository at this point in the history
As musl got fopencookie() implemented in 1.1.19, the funopen() function
can also be provided there. Note this in the documentation.
  • Loading branch information
guillemj committed Jan 8, 2024
1 parent e87ae3b commit 97b0fe8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions man/funopen.3bsd
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,10 @@ functions first appeared in
.Sh BUGS
The
.Fn funopen
function
may not be portable to systems other than
.Bx
and glibc-based (as the libbsd implementation is only provided when the
system has
function may not be portable to systems other than
.Bx ,
glibc- and musl-based ones
(as the libbsd implementation is only provided when the system has
.Fn fopencookie
available).
.Pp
Expand Down
2 changes: 1 addition & 1 deletion man/libbsd.7
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ and
.St -p1003.1-2001 .
.It Xr funopen 3bsd
Unportable, requires assistance from the stdio layer or some hook framework.
On GNU systems the
On glibc- and musl-based systems the
.Xr fopencookie 3
function can be used.
Otherwise the code needs to be prepared for neither of these functions being
Expand Down

0 comments on commit 97b0fe8

Please sign in to comment.