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:	4c07abdbac (mandoc: Vendor import of upstream at 2025-06-13)
This commit is contained in:
Alexander Ziaee
2025-12-17 12:27:39 -05:00
parent 067b62bd58
commit 3527e7e9f7
+2 -3
View File
@@ -5,16 +5,15 @@
.\" .\"
.\" Note: The date here should be updated whenever a non-trivial .\" Note: The date here should be updated whenever a non-trivial
.\" change is made to the manual page. .\" change is made to the manual page.
.Dd July 30, 2004 .Dd December 17, 2025
.Dt EXAMPLE 3 .Dt EXAMPLE 3
.Os .Os
.Sh NAME .Sh NAME
.Nm example .Nm example
.Nd example library function manual page .Nd example library function manual page
.Sh LIBRARY .Sh LIBRARY
.\" Note: list of available libraries is available in mdoc(7)
.Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
.Lb libc
.In example.h .In example.h
.Ft int .Ft int
.Fn example "char *ptr" "int mode" .Fn example "char *ptr" "int mode"