Date: Mon, 23 Oct 2006 13:24:05 +0200 (CEST) From: Simun Mikecin <numisemis@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/104707: [fix] manpage: clock_gettime is in time.h instead of sys/time.h Message-ID: <20061023112405.18E6B26D050@mail.logos.hr> Resent-Message-ID: <200610231130.k9NBUIfV032328@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061023112405.18E6B26D050>