Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Dec 2002 00:43:40 +0100
From:      Sebastien Gioria <gioria@FreeBSD.ORG>
To:        FreeBSD-gnats-submit@FreeBSD.ORG, freebsd-doc@FreeBSD.org
Cc:        Sebastien Gioria <gioria@FreeBSD.ORG>, alfred@FreeBSD.ORG
Subject:   Re: docs/46365: there is no documentation on getosreldate(3)
Message-ID:  <20021218234339.GA837@bushmills.intra.thorm.net>
In-Reply-To: <200212182340.gBINe14E011466@freefall.freebsd.org>
References:  <20021218233153.EF6A2B3DF@bushmills.intra.thorm.net> <200212182340.gBINe14E011466@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--r5Pyd7+fXNt84Ff3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Oups..... did not include the good man page....


-- 
Sebastien Gioria(48.8147,2.3622)   gioria@{FreeBSD,FreeBSD-FR}.ORG
French FreeBSD User Group    	         http://www.FreeBSD-FR.ORG
FreeBSD committer			    http://www.FreeBSD.ORG
*-> FreeBSD + RollerBlade + Scuba Diving; What need you more ? <-*

--r5Pyd7+fXNt84Ff3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="getosreldate.3"

.\" Copyright (c) 2002
.\"	The Regents of the University of California.  All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\"    must display the following acknowledgement:
.\"	This product includes software developed by the University of
.\"	California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
.\"    may be used to endorse or promote products derived from this software
.\"    without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $FreeBSD$
.\"
.Dd May 28, 2002
.Dt GETOSRELDATE 3
.Os
.Sh NAME
.Nm getosreldate
.Nd get the value of __FreeBSD_version
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
.In osreldate.h
.Ft int
.Fn getosreldate void
.Sh DESCRIPTION
.Fn getosreldate
return a 32-bit integer who determine the version of FreeBSD that
a program was compiled on, and maybe running on (if 2.0 or better).
Definitions of the values can be found on the porters handbook
at http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/freebsd-versions.html
.Sh EXAMPLES
An example can be found in /usr/share/examples/FreeBSD_version
.Sh HISTORY
The
.Fn getosreldate
appeared in
.Fx 2.0.

--r5Pyd7+fXNt84Ff3--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021218234339.GA837>