[Midnightbsd-cvs] src: getosreldate.3: Document the __MidnightBSD_version
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Dec 5 22:03:22 EST 2008
Log Message:
-----------
Document the __MidnightBSD_version
Modified Files:
--------------
src/lib/libc/gen:
getosreldate.3 (r1.2 -> r1.3)
-------------- next part --------------
Index: getosreldate.3
===================================================================
RCS file: /home/cvs/src/lib/libc/gen/getosreldate.3,v
retrieving revision 1.2
retrieving revision 1.3
diff -L lib/libc/gen/getosreldate.3 -L lib/libc/gen/getosreldate.3 -u -r1.2 -r1.3
--- lib/libc/gen/getosreldate.3
+++ lib/libc/gen/getosreldate.3
@@ -22,15 +22,16 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
+.\" $MidnightBSD$
.\" $FreeBSD: src/lib/libc/gen/getosreldate.3,v 1.3 2005/12/03 05:11:07 ambrisko Exp $
.\"
-.Dd December 2, 2005
+.Dd December 5, 2008
.Dt GETOSRELDATE 3
.Os
.Sh NAME
.Nm getosreldate
.Nd get the value of
-.Dv __FreeBSD_version
+.Dv __MidnightBSD_version
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
@@ -42,7 +43,7 @@
.Fn getosreldate
function returns an integer showing the version of the
currently running
-.Fx
+.Mx
kernel.
Definitions of the values can be found in
.%B "The Porter's Handbook"
@@ -66,7 +67,7 @@
.El
.Sh EXAMPLES
An example can be found in
-.Pa /usr/share/examples/FreeBSD_version .
+.Pa /usr/share/examples/MidnightBSD_version .
.Sh ERRORS
The
.Fn getosreldate
More information about the Midnightbsd-cvs
mailing list