]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
man: Markup function references with Xr instead of Fn
authorGuillem Jover <guillem@hadrons.org>
Mon, 9 Oct 2023 23:52:37 +0000 (01:52 +0200)
committerGuillem Jover <guillem@hadrons.org>
Mon, 9 Oct 2023 23:52:37 +0000 (01:52 +0200)
These references had man page sections in them, so using Fn meant that
these appeared as function arguments.

man/libbsd.7
man/strtoi.3bsd
man/strtonum.3bsd
man/strtou.3bsd

index 676e1300dfa1ee4caad23cb56f8b4b535ea46580..559eee4157b0d1376b3c2dc46c23ff6c1567e682 100644 (file)
@@ -76,7 +76,7 @@ The package also provides a
 .Nm libbsd-ctor
 static library that can be used to inject automatic constructors into a
 program so that the
-.Fn setproctitle_init 3
+.Xr setproctitle_init 3
 function gets invoked automatically at startup time.
 This can be done with the
 .Xr pkgconf 1
@@ -140,9 +140,9 @@ This is the list of functions that provide multiple implementations:
 .It Fn strnunvis 3
 .Nx
 added
-.Fn strnvis 3
+.Xr strnvis 3
 and
-.Fn strnunvis 3
+.Xr strnunvis 3
 but unfortunately made it incompatible with the existing one in
 .Ox
 and Freedesktop's libbsd (the former having existed for over ten years).
@@ -184,7 +184,7 @@ An implementation has to choose between leaking buffers or being reentrant
 for a limited amount of streams (this implementation chose the latter with
 a limit of 32).
 Use
-.Fn getline 3
+.Xr getline 3
 instead, which is available in many systems and required by
 .St -p1003.1-2008 .
 .It Fn fgetwln 3
@@ -193,7 +193,7 @@ An implementation has to choose between leaking buffers or being reentrant
 for a limited amount of streams (this implementation chose the latter with
 a limit of 32).
 Use
-.Fn fgetwc 3
+.Xr fgetwc 3
 instead, which is available in many systems and required by
 .St -isoC-99
 and
@@ -201,7 +201,7 @@ and
 .It Fn funopen 3
 Unportable, requires assistance from the stdio layer or some hook framework.
 On GNU systems the
-.Fn fopencookie 3
+.Xr fopencookie 3
 function can be used.
 Otherwise the code needs to be prepared for neither of these functions being
 available.
@@ -240,16 +240,16 @@ This function is provided by
 2.26, and
 .Nm musl
 1.2.2.
-.It Fn arc4random 3
-.It Fn arc4random_buf 3
-.It Fn arc4random_uniform 3
+.It Xr arc4random 3
+.It Xr arc4random_buf 3
+.It Xr arc4random_uniform 3
 These functions are provided by
 .Nm glibc
 2.36.
 Note that it does not provide the
-.Fn arc4random_stir 3
+.Xr arc4random_stir 3
 and
-.Fn arc4random_addrandom 3
+.Xr arc4random_addrandom 3
 functions.
 .El
 .Sh SEE ALSO
index 0e63da11d1fe93d38e38ff67aecb5f0260f8739a..15102da30703e95607460e220d5e43a4ec6ecf6b 100644 (file)
@@ -233,7 +233,7 @@ function first appeared in
 .Nx 7.0 .
 .Ox
 introduced the
-.Fn strtonum 3bsd
+.Xr strtonum 3bsd
 function for the same purpose, but the interface makes it impossible to
 properly differentiate illegal returns.
 .Sh BUGS
index 104178206b8d845358083491e37f332fc332bfe5..a4ed2bbe6793ccbc00d3960dc0de8293a70fa727 100644 (file)
@@ -154,9 +154,9 @@ function first appeared in
 was redesigned in
 .Nx 8.0
 as
-.Fn strtoi 3bsd
+.Xr strtoi 3bsd
 and
-.Fn strtou 3bsd .
+.Xr strtou 3bsd .
 .Sh CAVEATS
 The
 .Fn strtonum
@@ -186,6 +186,6 @@ To overcome the shortcomings of
 .Fn strtonum
 .Nx
 provides
-.Fn strtou 3bsd
+.Xr strtou 3bsd
 and
-.Fn strtoi 3bsd .
+.Xr strtoi 3bsd .
index fe46bd1be95c0354ef16a2eb8c82d4e3a7d2c15c..d7e02eb99efe596321f696b22678c70901f26034 100644 (file)
@@ -233,7 +233,7 @@ function first appeared in
 .Nx 7.0 .
 .Ox
 introduced the
-.Fn strtonum 3bsd
+.Xr strtonum 3bsd
 function for the same purpose, but the interface makes it impossible to
 properly differentiate illegal returns.
 .Sh BUGS