Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: Notesfiles $Revision: 1.6.2.17 $; site uokvax.UUCP
Path: utzoo!watmath!clyde!cbosgd!ihnp4!inuxc!pur-ee!uiucdcs!uokvax!emjej
From: emjej@uokvax.UUCP
Newsgroups: net.micro.6809
Subject: Re: help with listc.c program
Message-ID: <3500058@uokvax.UUCP>
Date: Tue, 4-Dec-84 09:39:00 EST
Article-I.D.: uokvax.3500058
Posted: Tue Dec  4 09:39:00 1984
Date-Received: Fri, 7-Dec-84 01:19:59 EST
References: <193@qumix.UUCP>
Lines: 31
Nf-ID: #R:qumix:-19300:uokvax:3500058:000:1465
Nf-From: uokvax!emjej    Dec  4 08:39:00 1984

/***** uokvax:net.micro.6809 / qumix!stoner /  8:19 am  Dec  1, 1984 */
     In trying to compile your listc.c program I found out that I don't
have #include files: and . What I was wondering
was,are these standard include files that you renamed or newer created 
files that aren't? 

    If they aren't standard files could you send me these files via mail?
/* ---------- */

I post this in case others could use the info:

 contains the moral equivalent of a subset of what Microware C
users will find in  and , namely what corresponds to
the stuff in the file descriptor sector, along with the values for various
access modes.  contains typedefs and such for Unix system
internals, some of which are used in .

Therefore, you don't need copies of them; just include  and
.

Now, the author of listc.c may have used stat() or fstat() (net.sources
is locked here, so I don't know). The OS-9 operation that corresponds to
that is a GetStat 14 (read file descriptor sector). Unfortunately, it's
not documented in some versions of the manuals; look in  or
OS9Defs (I think--it's the file with all the defines for system calls,
error codes, etc.; among them are the S$*, which are the Get/SetStat
codes). Note that this doesn't correspond exactly to fstat(), since you
have to have the file open (you specify it by path number, not by name).

						James Jones