example.3 (7dc5a4da7613bd65fa93257e93d9ef1076527e4d) example.3 (ed0bfbe5c7640195c36c6e2d921d9c9c1d36851a)
1.\" Copyright (c) [year] [your name]
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 15 unchanged lines hidden (view full) ---

24.\"
25.\" $FreeBSD$
26.\" Note: All FreeBSD man pages should have a FreeBSD revision
27.\" control id to make it easier for translation teams to track
28.\" changes.
29.\"
30.\" Note: The date here should be updated whenever a non-trivial
31.\" change is made to the manual page.
1.\" Copyright (c) [year] [your name]
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 15 unchanged lines hidden (view full) ---

24.\"
25.\" $FreeBSD$
26.\" Note: All FreeBSD man pages should have a FreeBSD revision
27.\" control id to make it easier for translation teams to track
28.\" changes.
29.\"
30.\" Note: The date here should be updated whenever a non-trivial
31.\" change is made to the manual page.
32.Dd January 8, 1997
32.Dd December 8, 1999
33.Dt EXAMPLE 3
34.\" Note: Only specify the operating system when the command
35.\" is FreeBSD specific, otherwise use the .Os macro with no
36.\" arguments.
37.Os FreeBSD 2.2
38.Sh NAME
39.Nm example
40.Nd example library function manual page

--- 28 unchanged lines hidden (view full) ---

69.Pp
70The above value are defined in
71.Aq Pa example.h
72as follows:
73.Bd -literal
74#define EXAMPLE_ONE 1
75#define EXAMPLE_TWO 2
76.Ed
33.Dt EXAMPLE 3
34.\" Note: Only specify the operating system when the command
35.\" is FreeBSD specific, otherwise use the .Os macro with no
36.\" arguments.
37.Os FreeBSD 2.2
38.Sh NAME
39.Nm example
40.Nd example library function manual page

--- 28 unchanged lines hidden (view full) ---

69.Pp
70The above value are defined in
71.Aq Pa example.h
72as follows:
73.Bd -literal
74#define EXAMPLE_ONE 1
75#define EXAMPLE_TWO 2
76.Ed
77.Sh IMPLEMENTATION NOTES
78The
79.Fn example
80function is not actually implemented.
77.Sh RETURN VALUES
78.Rv -std example
79.Sh ENVIRONMENT
80The
81.Fn example
82library function ignores the
83.Ev EXAMPLE
84environment variable.
85.Sh FILES
86.Bl -tag -width /dev/null -compact
87.It Pa /dev/null
88Example of a file in the
89.Sx FILES
90section.
91.El
81.Sh RETURN VALUES
82.Rv -std example
83.Sh ENVIRONMENT
84The
85.Fn example
86library function ignores the
87.Ev EXAMPLE
88environment variable.
89.Sh FILES
90.Bl -tag -width /dev/null -compact
91.It Pa /dev/null
92Example of a file in the
93.Sx FILES
94section.
95.El
92.Sh SEE ALSO
93.Xr example 1 ,
94.Xr example 4 ,
95.Xr mdoc 7 ,
96.Xr mdoc.samples 7
97.Rs
98.%A A. B. Author
99.%T Example RFC Title
100.%O RFC0000
101.Re
102.Rs
103.%A A. B. Author
104.%B Example Book Title
105.%O ISBN-0-000-00000-0
106.Re
107.Rs
108.%A A. B. Author
109.%D January 1997
110.%J Example Journal Name
111.%T Example Article Title
112.Re
113.Sh STANDARDS
114If the command conforms to some standard, such as
115.St -p1003.2
116or
117.St -ansiC ,
118it should be noted here.
119.Sh DIAGNOSTICS
120None.
96.Sh DIAGNOSTICS
97None.
98.Sh COMPATIBILITY
99The
100.Fn example
101function has no known compatibility issues.
121.Sh ERRORS
122.\" Delete any errno's that are not returned by your
123.\" function or system call and then tailor the
124.\" remaining text as needed.
125.Fn Example
126will fail if:
127.Bl -tag -width Er
128.It Bq Er EPERM

--- 154 unchanged lines hidden (view full) ---

283Function not implemented.
284.It Bq Er EFTYPE
285Inappropriate file type or format.
286.It Bq Er EAUTH
287Authentication error.
288.It Bq Er ENEEDAUTH
289Need authenticator.
290.El
102.Sh ERRORS
103.\" Delete any errno's that are not returned by your
104.\" function or system call and then tailor the
105.\" remaining text as needed.
106.Fn Example
107will fail if:
108.Bl -tag -width Er
109.It Bq Er EPERM

--- 154 unchanged lines hidden (view full) ---

264Function not implemented.
265.It Bq Er EFTYPE
266Inappropriate file type or format.
267.It Bq Er EAUTH
268Authentication error.
269.It Bq Er ENEEDAUTH
270Need authenticator.
271.El
272.Sh SEE ALSO
273.Xr example 1 ,
274.Xr example 4 ,
275.Xr mdoc 7 ,
276.Xr mdoc.samples 7
277.Rs
278.%A A. B. Author
279.%T Example RFC Title
280.%O RFC0000
281.Re
282.Rs
283.%A A. B. Author
284.%B Example Book Title
285.%O ISBN-0-000-00000-0
286.Re
287.Rs
288.%A A. B. Author
289.%D January 1997
290.%J Example Journal Name
291.%T Example Article Title
292.Re
293.Sh STANDARDS
294If the command conforms to some standard, such as
295.St -p1003.2
296or
297.St -ansiC ,
298it should be noted here.
291.Sh HISTORY
292The
293.Nm
294manual page example first appeared in
295.Fx 2.2 .
296.Pp
297Some other common
298.Sx HISTORY

--- 17 unchanged lines hidden ---
299.Sh HISTORY
300The
301.Nm
302manual page example first appeared in
303.Fx 2.2 .
304.Pp
305Some other common
306.Sx HISTORY

--- 17 unchanged lines hidden ---