From owner-freebsd-doc Wed Dec 18 15:43:38 2002 Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC1CF37B401; Wed, 18 Dec 2002 15:43:35 -0800 (PST) Received: from gioria.dyndns.org (AFontenayssB-104-1-1-242.abo.wanadoo.fr [217.128.58.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 994B943EDA; Wed, 18 Dec 2002 15:43:34 -0800 (PST) (envelope-from eagle@gioria.dyndns.org) Received: from bushmills.intra.thorm.net (bushmills.intra.thorm.net [192.168.0.3]) by gioria.dyndns.org (Postfix) with ESMTP id 63DC437485; Thu, 19 Dec 2002 00:52:39 +0100 (CET) Received: by bushmills.intra.thorm.net (Postfix, from userid 501) id 40DB3ADA2; Thu, 19 Dec 2002 00:43:40 +0100 (CET) Date: Thu, 19 Dec 2002 00:43:40 +0100 From: Sebastien Gioria To: FreeBSD-gnats-submit@FreeBSD.ORG, freebsd-doc@FreeBSD.org Cc: Sebastien Gioria , alfred@FreeBSD.ORG Subject: Re: docs/46365: there is no documentation on getosreldate(3) Message-ID: <20021218234339.GA837@bushmills.intra.thorm.net> Reply-To: Sebastien Gioria Mail-Followup-To: FreeBSD-gnats-submit@FreeBSD.ORG, freebsd-doc@FreeBSD.org, Sebastien Gioria , alfred@FreeBSD.ORG References: <20021218233153.EF6A2B3DF@bushmills.intra.thorm.net> <200212182340.gBINe14E011466@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline In-Reply-To: <200212182340.gBINe14E011466@freefall.freebsd.org> X-Hostname: bushmills.intra.thorm.net X-Uptime: 12:42AM up 10 mins, 1 user, load averages: 1.41, 1.16, 0.65 X-FreeBSD-Release: FreeBSD-5.0-RC User-Agent: Mutt/1.5.1i Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --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