aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Ziaee <ziaee@FreeBSD.org>2025-12-17 17:27:39 +0000
committerAlexander Ziaee <ziaee@FreeBSD.org>2025-12-17 17:27:39 +0000
commit3527e7e9f7b2f1737706378b99af778921849e9d (patch)
tree3bbe31d66e860d2084d8cc21800cb71c2b879abb
parent067b62bd5834484c927038aff28d36da6c5d6cca (diff)
example.3: Show updated library macro usage
The LIBRARY section has been deprecated by upstream. Show the updated usage of the Lb macro in SYNOPSIS. Fixes: 4c07abdbacf49 (mandoc: Vendor import of upstream at 2025-06-13)
-rw-r--r--share/examples/mdoc/example.35
1 files changed, 2 insertions, 3 deletions
diff --git a/share/examples/mdoc/example.3 b/share/examples/mdoc/example.3
index a1e47b34064b..44fb1c76798c 100644
--- a/share/examples/mdoc/example.3
+++ b/share/examples/mdoc/example.3
@@ -5,16 +5,15 @@
.\"
.\" Note: The date here should be updated whenever a non-trivial
.\" change is made to the manual page.
-.Dd July 30, 2004
+.Dd December 17, 2025
.Dt EXAMPLE 3
.Os
.Sh NAME
.Nm example
.Nd example library function manual page
.Sh LIBRARY
-.\" Note: list of available libraries is available in mdoc(7)
-.Lb libc
.Sh SYNOPSIS
+.Lb libc
.In example.h
.Ft int
.Fn example "char *ptr" "int mode"