_print/_doprnt; curses on sys III

stan at RICE.ARPA stan at RICE.ARPA
Mon Jun 18 03:58:46 AEST 1984


From:  Stan Hanks <stan at RICE.ARPA>

Toby,

It is standard System III. AT&T finally wised up to how much software
broke when they took _doprnt away, and made it come back in System V.
Not that this helps you any, but.....

Anyway, here's how you work this:

1) the FILE * that you are printing to is not in the arguments to
   _print. Instead, this goes in the external variable "_pfile".

2) the first argument to _print is the format, followed by the various
   arguments

Therefore the "_doprnt(fmt, args, file)" becomes 
"_pfile = file; _print(fmt, args)" No sweat.


				Stan Hanks
				Department of Computer Science
				Rice University
				Houston TX
				
				stan at rice.ARPA         (arpanet)
				stan at rice              (csnet)
				...!lbl-csam!rice!stan (uucp)



More information about the Comp.unix.wizards mailing list