]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
man: Mention that funopen() can be made available on musl
authorGuillem Jover <guillem@hadrons.org>
Mon, 8 Jan 2024 22:57:45 +0000 (23:57 +0100)
committerGuillem Jover <guillem@hadrons.org>
Mon, 8 Jan 2024 23:00:06 +0000 (00:00 +0100)
As musl got fopencookie() implemented in 1.1.19, the funopen() function
can also be provided there. Note this in the documentation.

man/funopen.3bsd
man/libbsd.7

index 0f5ac06fae2255c5fc40ac9fa7398357a8e0db7c..234922f435d9c990a3c915ae17da938fc268c886 100644 (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
index ee01c9a236ad77a48bf26162da946160f30c747c..b3c848e4c7c108c8d7da1dd03a9f1d8e30597ca0 100644 (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