Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mandrill!hal!ncoast!allbery From: allbery@ncoast.UUCP (Brandon S. Allbery) Newsgroups: comp.sources.d Subject: Re: perl compilation problems on a fortune 32:16 Message-ID: <7935@ncoast.UUCP> Date: 7 Jun 88 23:34:21 GMT References: <512@sbsvax.UUCP> Reply-To: allbery@ncoast.UUCP (Brandon S. Allbery) Followup-To: comp.sources.d Organization: Cleveland Public Access UN*X, Cleveland, Oh Lines: 23 As quoted from <512@sbsvax.UUCP> by greim@sbsvax.UUCP (Michael Greim): +--------------- | >Meanwhile, I am interested in a public domain printf & friends. | In the implementations I saw, printf was just an interface to _doprnt, +--------------- (1) There is a printf() replacement in the UNaXcess 1.0.2 sources, in the function "writef()" in io.c. I've mailed the code out to the original requestor. (2) Plexus System III (and, presumably, some other systems) did not use _doprnt; the function doesn't exist. They use _print with the FILE structure stored in "extern FILE _pfile" (no, that's not a typo; it's an actual structure, not a pointer). I don't remember the calling sequence, but I can look it up. (3) I think v*printf() is now common enough that it should be used instead. The interface is much cleaner than _doprnt. -- Brandon S. Allbery | "Given its constituency, the only uunet!marque,sun!mandrill}!ncoast!allbery | thing I expect to be "open" about Delphi: ALLBERY MCI Mail: BALLBERY | [the Open Software Foundation] is comp.sources.misc: ncoast!sources-misc | its mouth." --John Gilmore