From owner-freebsd-doc Wed Dec 18 15:40:13 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2A1F37B406 for ; Wed, 18 Dec 2002 15:40:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A443D43ED4 for ; Wed, 18 Dec 2002 15:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gBINe2x3011500 for ; Wed, 18 Dec 2002 15:40:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gBINe2UU011499; Wed, 18 Dec 2002 15:40:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDFBF37B401; Wed, 18 Dec 2002 15:34:22 -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 14F4743EA9; Wed, 18 Dec 2002 15:34:22 -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 BE400374B8; Thu, 19 Dec 2002 00:43:26 +0100 (CET) Received: by bushmills.intra.thorm.net (Postfix, from userid 501) id D0618B738; Thu, 19 Dec 2002 00:31:53 +0100 (CET) Message-Id: <20021218233153.D0618B738@bushmills.intra.thorm.net> Date: Thu, 19 Dec 2002 00:31:53 +0100 (CET) From: Sebastien Gioria Reply-To: Sebastien Gioria To: FreeBSD-gnats-submit@FreeBSD.org Cc: alfred@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/46367: there is no documentation on getosreldate(3) 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 >Number: 46367 >Category: docs >Synopsis: there is no documentation on getosreldate(3) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 18 15:40:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Sebastien Gioria >Release: FreeBSD 5.0-RC i386 >Organization: FreeBSD.ORG >Environment: System: FreeBSD bushmills.intra.thorm.net 5.0-RC FreeBSD 5.0-RC #16: Mon Dec 9 18:34:49 CET 2002 gioria@FreeBSD.ORG@bushmills.intra.thorm.net:/usr/obj/usr/src/sys/bushmills i386 >Description: The getosreldate(3) function is not documented in the manual pages >How-To-Repeat: do a man getosreldate >Fix: This is a roff file documenting the getosreldate function --- getosreldate.3 begins here --- .\" 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 HISTORY The .Fn getosreldate appeared in .Fx 2.0. --- getosreldate.3 ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message