Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 1997 15:51:18 -0400 (EDT)
From:      Peter Dufault <dufault@hda.com>
To:        hackers@freebsd.org
Subject:   struct timespec is in the wrong place
Message-ID:  <199704161951.PAA14023@hda.hda.com>

next in thread | raw e-mail | index | archive | help
Struct timespec is added to time.h in posix.4.  We've already got
it in sys/time.h.  By rights it should appear in time.h and only
if _POSIX_VERSION is > 199309 and either _POSIX_C_SOURCE is undefined
or > 199309.

I'm thinking of adding sys/timespec.h and including that in both
sys/time.h and time.h, properly ifdef'd in time.h.  Comments?

-- 
Peter Dufault (dufault@hda.com)   Realtime Machine Control and Simulation
HD Associates, Inc.               Voice: 508 433 6936



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