* POSIX on DU3.2?
@ 1996-11-04 5:00 Simon Wright
0 siblings, 0 replies; only message in thread
From: Simon Wright @ 1996-11-04 5:00 UTC (permalink / raw)
We are trying to port some code from Solaris, and to start with we tried
the following little snippet:
#include <stdio.h>
#include <time.h>
void main()
{ struct timespec currtime;
int retv;
retv = clock_gettime(CLOCK_REALTIME, &currtime);
printf("sec %d nsec %ld\n", (int) currtime.tv_sec, currtime.tv_nsec);
}
which fails to find clock_gettime during the link. (We also tried
<timers.h>).
Help! What should we be doing?
--
Simon Wright (G-net) +842-1778
Ferranti Naval Systems (voice) +44(0)1705-701778
GEC-Marconi S3I Combat Systems Division (fax) +44(0)1705-701800
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-11-04 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-04 5:00 POSIX on DU3.2? Simon Wright
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox