Path: utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!wa4mei!bcs800!jeffr From: jeffr@bcs800.UUCP (Jeff Riegel) Newsgroups: comp.os.os9 Subject: Questions on o2utime Message-ID: <1090@bcs800.UUCP> Date: 24 Oct 90 14:44:47 GMT Organization: Brock Control Systems, Atlanta, Georgia Lines: 41 ################################################################################ /* @(#)help.c 1.0 */ /* ** why doesn't this work ??? */ #include #include main(argc,argv) int argc; char *argv[]; { long st_adate; struct fildes fdbuf; char tbuf[6]; pflinit(); if ((fd = open(argv[1],1)) < 0) exit(1); _gs_gfd(fd,&fdbuf,sizeof(struct fildes)); strncpy(tbuf,fdbuf.fd_date,5); tbuf[5] = 0; st_adate = o2utime(&tp) printf("the time in seconds is %ld\n",st_adate); printf("%s\n",ctime(&st_adate)); } Any ideas why this dosn't work..... Thanks in advance -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jeff Riegel | uucp: ...!gatech!emory!bcs800!jeffr Technical Support | delphi: j2 tel: +800 444 3070 | A process is a terrible thing to waste!