From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f72528bf8eaf8136,start X-Google-Attributes: gidfee84,public From: simon.j.wright@gecm.com (Simon Wright) Subject: POSIX on DU3.2? Date: 1996/11/04 Message-ID: #1/1 X-Deja-AN: 194826294 sender: sjw@luthien.frlngtn.gmcs.gecm.com organization: Ferranti Naval Systems, GEC-Marconi S3I Combat Systems Division newsgroups: comp.unix.osf.osf1 We are trying to port some code from Solaris, and to start with we tried the following little snippet: #include #include 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 ). 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