emjej@uokvax.UUCP (05/17/84)
#N:uokvax:3500037:000:1028 uokvax!emjej May 17 14:49:00 1984 I'm in the process of moving all the public-domain C/Unix software I can get my hands on to OS-9. As thorough as the Microware C library is, I've come across something right away that gives me problems: namely, there's no stat() or fstat() function. (Not to be confused with getstat().) What such a function would require in OS-9 is reading the file descriptor sector (which contains the attributes, owner, and the like, so you know it's getting looked at whenever you open the file), but I'd really rather not do it myself. Has someone done so already? (Yes, I know that one can't get all the stuff from a Unix stat(), for instance group id/permissions or inode #s, and that if I want to cons up something Unix-looking I'll have to convert the time formats. I can live with that, and write a layer around the basic thing if need be to make it look Unix-like.) Thanks, James Jones uucp: ...!ctvax!uokvax!emjej (If no replies are forthcoming, I'll take a whack at it myself, and post any successful results.)