Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!brl-tgr!tgr!cabral@lll-crg.ARPA From: cabral@lll-crg.ARPA (Brian Cabral) Newsgroups: net.lang.c Subject: Re: stat routine for DEC C wanted Message-ID: <9348@brl-tgr.ARPA> Date: Tue, 19-Mar-85 19:46:42 EST Article-I.D.: brl-tgr.9348 Posted: Tue Mar 19 19:46:42 1985 Date-Received: Thu, 21-Mar-85 03:09:43 EST Sender: news@brl-tgr.ARPA Lines: 20 Skip, I have looked into that very problem and will have to eventually write one for the VMS version of the EMACS I am hacking on. I suspect someone has written one for the emacs you have since emacs checks the status of a file at some point. Stat can NOT be fully implemented by definition of the stat data structure which returns information about the inode which makes no since to VMS. So what you needs to be done is a routine that only fills in the part that it can othereise either ignores the call or returns a warning error. Actually the routine doesn't seem to hard to write because RMS should provide most of the info like last access time etc. If I was you I'd look thru the EMACS code to see if it calls stat and if there is hacked version there. Also I might write Bruce Dawson(i think he's at CCA) since he almost certainly would know where you could get a routine such as stat for VMS. B.c.