Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: notesfiles Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!houxm!houxz!vax135!cornell!uw-beaver!tektronix!hplabs!hp-pcd!hp-dcd!hpfcms!barb From: barb@hpfcms.UUCP Newsgroups: net.unix-wizards Subject: Re: _print/_doprnt; curses on sys III Message-ID: <25900003@hpfcms.UUCP> Date: Wed, 13-Jun-84 17:20:00 EDT Article-I.D.: hpfcms.25900003 Posted: Wed Jun 13 17:20:00 1984 Date-Received: Wed, 27-Jun-84 19:45:29 EDT References: <148@gargoyle.UUCP> Organization: Hewlett-Packard Fort Collins Systems Division - Fort Collins, CO Lines: 27 Nf-ID: #R:gargoyle:-14800:hpfcms:25900003:000:1164 Nf-From: hpfcms!barb Jun 20 13:20:00 1984 There are two different source files shipped for printf with System III. One version of printf() uses doprnt. doprnt is written in vax assembly language. The second version of printf() uses _print. _print is written in C. Thus, the HP9000 series 500 and series 200 used the source for _print. The arguments to _print are _print(format, args). format is a char pointer to the format string and args is a char pointer to the list of arguments to be printed. A global variable _pfile (FILE *) must be set to the stream pointer associated with the file to be written on before calling _print. System V.2 now uses only doprnt for printf(). They ship both a vax assembly language version and a C version. The 4.0 release of the Series 500 and 2.1 release of the Series 200 (both to be released late this summer) will use System V.2 doprnt. _print and doprint are not valid user entry points and are explicitly undocumented both by HP9000 and by Bell because their interface is subject to change in future releases. Barbara Flahive, Technical Support Hewlett-Packard - Ft.Collins, CO {hplabs,ihnp4}!hpfcla!barb