stat routine for DEC C wanted
Brian Cabral
cabral at lll-crg.ARPA
Wed Mar 20 10:46:42 AEST 1985
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.
More information about the Comp.lang.c
mailing list