_print/_doprnt; curses on sys III

Geoff Collyer geoff at utcsstat.UUCP
Sat Jun 16 16:09:55 AEST 1984


Any program that calls _doprnt (or _print or whatever) directly is
*broken*.  The internals of a given stdio implementation are the
business of no one but its author(s) and maintainer(s).  If you think
you need to call _doprnt or whatever, try sprintf'ing into a buffer and
passing the buffer.

Many people, especially those at Berkeley, seem to think that there is
only one stdio implementation, Dennis Ritchie's.  It ain't so, folks.
I know of one stdio implementation in progress in which *all* the
internal names, including names in stdio.h that aren't documented, are
different or static so as to forcibly break programs that use the
internal names.

Some people may think that deliberately changing the names hurts
portability; on the contrary, demonstrating that broken programs really
are broken is a favour to their authors.  The authors can fix their
programs before they reach a wider audience and are a greater
embarrassment than they are today.



More information about the Comp.unix.wizards mailing list