From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,8e7a3b3423ff7381,start X-Google-Attributes: gidfee84,public From: "jasperh" Subject: Memory fault(coredump) with time() function. Date: 1999/01/20 Message-ID: <01be4463$36d2fa80$64a305c4@jasper.somchem.denel.co.za>#1/1 X-Deja-AN: 434766815 Organization: debis IT Services SA Newsgroups: comp.unix.osf.osf1 I get a Memory fault (coredump) when using the time() function in the following C code: I tried it on a DecUnix 3.2 and a 3.2c box. Many thanks. Part of the C code follows: #include #include #include #include #include #include #include #include main(argc, argv, envp) int argc; char *argv[], *envp[]; { char *name; int current_time; current_time=time(); printf("now=%d\n", time()); }