From owner-freebsd-doc@FreeBSD.ORG Mon Oct 23 11:30:20 2006 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org 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 0FE5616A407 for ; Mon, 23 Oct 2006 11:30:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9C1943D53 for ; Mon, 23 Oct 2006 11:30:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k9NBUILp032330 for ; Mon, 23 Oct 2006 11:30:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k9NBUIfV032328; Mon, 23 Oct 2006 11:30:18 GMT (envelope-from gnats) Resent-Date: Mon, 23 Oct 2006 11:30:18 GMT Resent-Message-Id: <200610231130.k9NBUIfV032328@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Simun Mikecin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C65C416A415 for ; Mon, 23 Oct 2006 11:24:15 +0000 (UTC) (envelope-from sime@logos.hr) Received: from mail.logos.hr (gates.logos.hr [213.149.47.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5344843D49 for ; Mon, 23 Oct 2006 11:24:14 +0000 (GMT) (envelope-from sime@logos.hr) Received: from localhost (localhost.logos.hr [127.0.0.1]) by mail.logos.hr (Postfix) with ESMTP id D9C5F26D054 for ; Mon, 23 Oct 2006 13:24:12 +0200 (CEST) Received: from mail.logos.hr ([127.0.0.1]) by localhost (mail.logos.hr [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13173-03-3 for ; Mon, 23 Oct 2006 13:24:05 +0200 (CEST) Received: by mail.logos.hr (Postfix, from userid 34062) id 18E6B26D050; Mon, 23 Oct 2006 13:24:05 +0200 (CEST) Message-Id: <20061023112405.18E6B26D050@mail.logos.hr> Date: Mon, 23 Oct 2006 13:24:05 +0200 (CEST) From: Simun Mikecin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/104707: [fix] manpage: clock_gettime is in time.h instead of sys/time.h X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Simun Mikecin List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2006 11:30:20 -0000 >Number: 104707 >Category: docs >Synopsis: [fix] manpage: clock_gettime is in time.h instead of sys/time.h >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 23 11:30:18 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Simun Mikecin >Release: FreeBSD 6.1-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD plasma 6.1-RELEASE-p5 FreeBSD 6.1-RELEASE-p5 #1: Mon Sep 4 11:44:55 CEST 2006 root@plasma:/usr/obj/usr/src.6/sys/PLASMA i386 >Description: As defined in: http://www.opengroup.org/onlinepubs/009695399/basedefs/time.h.html clock_* functions and struct timespec should be defined in time.h instead of sys/time.h. Actual time.h contains the right definition, it's just the man page that is wrong. >How-To-Repeat: >Fix: --- clock_gettime.2.orig Sat Jul 3 01:52:13 2004 +++ clock_gettime.2 Mon Oct 23 13:15:03 2006 @@ -44,7 +44,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.In sys/time.h +.In time.h .Ft int .Fn clock_gettime "clockid_t clock_id" "struct timespec *tp" .Ft int @@ -73,7 +73,7 @@ The structure pointed to by .Fa tp is defined in -.In sys/time.h +.In time.h as: .Pp .Bd -literal >Release-Note: >Audit-Trail: >Unformatted: