"_doprnt" query
Mikel Manitius
mikel at codas.UUCP
Wed Dec 18 14:41:42 AEST 1985
> > I am trying to get a screen editor working on my Fortune 32:16 system. It
> > keeps crashing in the routine "_doprnt" (giving me a memory addressing error).
> > I can't seem to find any documentation on it.
>
> _doprnt() is used internally by the printf() family of functions.
> One common cause of crashes in it is passing a bum pointer for a
> %s format spec, or not having the correct number of arguments.
A common missuse of scanf and sprintf, is calling by value and
not by address. The target variable should be called by address.
--
Mikel Manitius @ AT&T-IS Altamonte Springs, FL
...{ihnp4|akgua|bellcore|clyde|koura}!codas!mikel
More information about the Comp.unix.wizards
mailing list