On Thu, 28 Jun 2001, Jarkko Hietaniemi wrote:
> > Thanks for the pointer... must find my SYS$ and LIB$ references ...
> > they've been stolen. Unfortunately my VAX VMS V6.2 + DEC C 5.3 copy of
> > lib$routines.h has this vague prototype:
> >
> > $ sea lib$routines.h ediv
> > /* LIB$EDIV */
> > /* LIB$EDIV makes the VAX EDIV */
> > unsigned int lib$ediv(__unknown_params);
>
> If this weren't a broken test I would :-)
>
> ___unknown_type lib$ediv(__unknown_params);
>
> would be even more enlightening...
It is however slightly better with a Compaq C V6.2 implementation, e.g.:
#define lib$ediv LIB$EDIV
#ifdef __NEW_STARLET
unsigned int lib$ediv(
int *longword_integer_divisor,
__int64 *quadword_integer_dividend,
int *longword_integer_quotient,
int *remainder);
#else /* __OLD_STARLET */
unsigned int lib$ediv(__unknown_params);
#endif /* #ifdef __NEW_STARLET */
I may run out of time to test that today though.
Peter Prymmer