Jim Phillips <[log in to unmask]> wrote:
>
> Hmmmmm. Isn't the first parameter for HPCIGETVAR the VarName, defined as
a
> character array?
When you call if from an official HP compiler, yes. But the compilers add
the parameter count and any necessary default values you omitted--by looking
in the SYSINTR.PUB.SYS file. The Gnu compiler doesn't do this, you have to
do it yourself.
I've looked back at the SYSINTR file and my Perl program which parses it. I
figured out which field is the minimum parameter count, so that is fixed. I
still have four fields that I don't understand. Is this file format
documented anywhere?
In the type 3 records, the first nine numeric fields are:
recordtype, maxparms, return_type, a,
b, c, d, minparms,
namelength
So, what are "a, b, c, d"? In my SYSINTR file, at least, "b" and "d" are
always zero.
Ken
|