summaryrefslogtreecommitdiffstats
path: root/share/examples/mdoc/example.3
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1999-12-08 22:15:09 +0000
committermpp <mpp@FreeBSD.org>1999-12-08 22:15:09 +0000
commit417fa30de618234ab56569f76161137a2931e717 (patch)
tree8cf9cf1d078d78c8daae308ec5e2f165d7d30361 /share/examples/mdoc/example.3
parentef74d85fe0f8cf85be2d016f121c79e90ffcafa8 (diff)
downloadFreeBSD-src-417fa30de618234ab56569f76161137a2931e717.zip
FreeBSD-src-417fa30de618234ab56569f76161137a2931e717.tar.gz
Make share/examples/mdoc and share/misc/mdoc.template internally
consistent, and consistent with mdoc(7) and mdoc.samples(7). PR: doc/15352, doc/15353
Diffstat (limited to 'share/examples/mdoc/example.3')
-rw-r--r--share/examples/mdoc/example.364
1 files changed, 36 insertions, 28 deletions
diff --git a/share/examples/mdoc/example.3 b/share/examples/mdoc/example.3
index 8d3f7c5..b2dc556 100644
--- a/share/examples/mdoc/example.3
+++ b/share/examples/mdoc/example.3
@@ -29,7 +29,7 @@
.\"
.\" Note: The date here should be updated whenever a non-trivial
.\" change is made to the manual page.
-.Dd January 8, 1997
+.Dd December 8, 1999
.Dt EXAMPLE 3
.\" Note: Only specify the operating system when the command
.\" is FreeBSD specific, otherwise use the .Os macro with no
@@ -74,6 +74,10 @@ as follows:
#define EXAMPLE_ONE 1
#define EXAMPLE_TWO 2
.Ed
+.Sh IMPLEMENTATION NOTES
+The
+.Fn example
+function is not actually implemented.
.Sh RETURN VALUES
.Rv -std example
.Sh ENVIRONMENT
@@ -89,35 +93,12 @@ Example of a file in the
.Sx FILES
section.
.El
-.Sh SEE ALSO
-.Xr example 1 ,
-.Xr example 4 ,
-.Xr mdoc 7 ,
-.Xr mdoc.samples 7
-.Rs
-.%A A. B. Author
-.%T Example RFC Title
-.%O RFC0000
-.Re
-.Rs
-.%A A. B. Author
-.%B Example Book Title
-.%O ISBN-0-000-00000-0
-.Re
-.Rs
-.%A A. B. Author
-.%D January 1997
-.%J Example Journal Name
-.%T Example Article Title
-.Re
-.Sh STANDARDS
-If the command conforms to some standard, such as
-.St -p1003.2
-or
-.St -ansiC ,
-it should be noted here.
.Sh DIAGNOSTICS
None.
+.Sh COMPATIBILITY
+The
+.Fn example
+function has no known compatibility issues.
.Sh ERRORS
.\" Delete any errno's that are not returned by your
.\" function or system call and then tailor the
@@ -288,6 +269,33 @@ Authentication error.
.It Bq Er ENEEDAUTH
Need authenticator.
.El
+.Sh SEE ALSO
+.Xr example 1 ,
+.Xr example 4 ,
+.Xr mdoc 7 ,
+.Xr mdoc.samples 7
+.Rs
+.%A A. B. Author
+.%T Example RFC Title
+.%O RFC0000
+.Re
+.Rs
+.%A A. B. Author
+.%B Example Book Title
+.%O ISBN-0-000-00000-0
+.Re
+.Rs
+.%A A. B. Author
+.%D January 1997
+.%J Example Journal Name
+.%T Example Article Title
+.Re
+.Sh STANDARDS
+If the command conforms to some standard, such as
+.St -p1003.2
+or
+.St -ansiC ,
+it should be noted here.
.Sh HISTORY
The
.Nm
OpenPOWER on IntegriCloud