man: Mention that funopen() can be made available on musl

As musl got fopencookie() implemented in 1.1.19, the funopen() function
can also be provided there. Note this in the documentation.
This commit is contained in:
Guillem Jover 2024-01-08 23:57:45 +01:00
parent e87ae3be19
commit 97b0fe84b8
2 changed files with 5 additions and 6 deletions

View File

@ -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

View File

@ -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