git: 3527e7e9f7b2 - main - example.3: Show updated library macro usage
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 Dec 2025 17:30:17 UTC
The branch main has been updated by ziaee:
URL: https://cgit.FreeBSD.org/src/commit/?id=3527e7e9f7b2f1737706378b99af778921849e9d
commit 3527e7e9f7b2f1737706378b99af778921849e9d
Author: Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2025-12-17 17:27:39 +0000
Commit: Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2025-12-17 17:27:39 +0000
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)
---
share/examples/mdoc/example.3 | 5 ++---
1 file 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"