* clock_gettime() vs. getclock() vs. __getclock()
@ 1995-10-30 5:00 Ronan MELENNEC
0 siblings, 0 replies; only message in thread
From: Ronan MELENNEC @ 1995-10-30 5:00 UTC (permalink / raw)
Hello,
I am in the process of porting some Pthreads code to Digital UNIX (OSF/1 3.0).
The POSIX.1b clock_gettime() function (to retrieve UTC time with
a fractional part in nanoseconds) is referenced in the man pages,
but appears to be missing from the C libraries (either libc or libc_r).
In the meantime, I am using getclock().
There also exists a __getclock() function, which has no man page.
Is it a faster version of getclock() ?
What do you suggest to replace clock_gettime(), apart from using getclock()
(I'd prefer the application sources to stay portable) ?
Does it (clock_gettime()) already appear in a library I am not aware of ?
Cordially,
--
Ronan Melennec | Centre d'Etudes de la Navigation Aerienne
<melennec@cena.dgac.fr> | Division Support Systeme
+33 1 69 57 70 96 | Orly Sud 205 -- 94542 ORLY AEROGARE CEDEX
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-10-30 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-10-30 5:00 clock_gettime() vs. getclock() vs. __getclock() Ronan MELENNEC
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox