Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B UNSW 1.0 3/14/84; site physiol.OZ
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!mulga!munnari!basser!physiol!john
From: john@physiol.OZ (John Mackin)
Newsgroups: net.lang.c
Subject: Re: USG and _doprnt
Message-ID: <92@physiol.OZ>
Date: Sat, 15-Dec-84 20:35:58 EST
Article-I.D.: physiol.92
Posted: Sat Dec 15 20:35:58 1984
Date-Received: Mon, 17-Dec-84 04:02:04 EST
References: <261@utcs.UUCP> <296@rlgvax.UUCP>
Organization: Physiology, Uni of Sydney, Australia
Lines: 21

In article <296@rlgvax.UUCP>, guy@rlgvax.UUCP (Guy Harris) writes:

> Zilog's ZEUS V7
> implementation didn't have [_doprnt], because they had to screw around a lot
> to get "printf" to work.  They put some arguments into registers in their
> calling sequence, which means all the "varargs" stuff is a bitch.  I
> have no idea if any ZEUS release has the "varargs" stuff.

This is all quite correct.  It's been about two years since I had to use
ZEUS, thankfully, but for as long as I was in contact with it there
was no working varargs.h by Zilog.  (They thoughtfully supplied a
PDP-11 one.)  After getting heartily sick of every second piece of
software I tried to port to the thing breaking where it tried to
do variadic routines, and being tired of re-inventing the wheel
each time, I did varargs.h for the ZEUS.  It works.  If anyone
is interested, I'll post it to net.sources (it's only short, and
is also a monument to human braindamage -- what I had to go through
must be seen to be believed).

John Mackin, Physiology Department, University of Sydney, Sydney, Australia
...!decvax!mulga!physiol.su.oz!john