summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-07-07 18:59:33 +0000
committerru <ru@FreeBSD.org>2004-07-07 18:59:33 +0000
commite318fd8a914391726872dd5717985e4980efafee (patch)
tree594f542b13438c1324252b344c8bb047035399a1 /share
parent966185d79734c20244e08234d5257f633ca9ec0c (diff)
downloadFreeBSD-src-e318fd8a914391726872dd5717985e4980efafee.zip
FreeBSD-src-e318fd8a914391726872dd5717985e4980efafee.tar.gz
Bumped document date for the recent changes here.
Fixed bad example of how to start a new sentence. Added missing punctuation. Fixed cut-n-paste error in the STANDARDS section. Mention modern POSIX and C standards.
Diffstat (limited to 'share')
-rw-r--r--share/examples/mdoc/example.327
1 files changed, 14 insertions, 13 deletions
diff --git a/share/examples/mdoc/example.3 b/share/examples/mdoc/example.3
index 6b6c211..b7db24a 100644
--- a/share/examples/mdoc/example.3
+++ b/share/examples/mdoc/example.3
@@ -26,7 +26,7 @@
.\"
.\" Note: The date here should be updated whenever a non-trivial
.\" change is made to the manual page.
-.Dd December 8, 1999
+.Dd June 20, 2004
.Dt EXAMPLE 3
.Os
.Sh NAME
@@ -100,8 +100,9 @@ function has no known compatibility issues.
.\" Delete any errno's that are not returned by your
.\" function or system call and then tailor the
.\" remaining text as needed.
-.Fn Example
-will fail if:
+The
+.Fn example
+function will fail if:
.Bl -tag -width Er
.It Bq Er EPERM
Operation not permitted.
@@ -266,19 +267,19 @@ Authentication error.
.It Bq Er ENEEDAUTH
Need authenticator.
.It Bq Er EIDRM
-Identifier removed
+Identifier removed.
.It Bq Er ENOMSG
-No message of desired type
+No message of desired type.
.It Bq Er EOVERFLOW
-Value too large to be stored in data type
+Value too large to be stored in data type.
.It Bq Er ECANCELED
-Operation canceled
+Operation canceled.
.It Bq Er EILSEQ
-Illegal byte sequence
+Illegal byte sequence.
.It Bq Er ENOATTR
-Attribute not found
+Attribute not found.
.It Bq Er EDOOFUS
-Programming error
+Programming error.
.El
.Sh SEE ALSO
.Xr example 1 ,
@@ -301,10 +302,10 @@ Programming error
.%T "Example Article Title"
.Re
.Sh STANDARDS
-If the command conforms to some standard, such as
-.St -p1003.2
+If the function conforms to some standard, such as
+.St -p1003.1-2001
or
-.St -isoC ,
+.St -isoC-99 ,
it should be noted here.
.Sh HISTORY
The
OpenPOWER on IntegriCloud