Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site codas.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua!akguc!codas!mikel From: mikel@codas.UUCP (Mikel Manitius) Newsgroups: net.unix,net.unix-wizards Subject: Re: "_doprnt" query Message-ID: <398@codas.UUCP> Date: Tue, 17-Dec-85 23:41:42 EST Article-I.D.: codas.398 Posted: Tue Dec 17 23:41:42 1985 Date-Received: Fri, 20-Dec-85 01:14:48 EST References: <280@ur-tut.UUCP> <491@brl-tgr.ARPA> Distribution: net Organization: AT&T Information Systems (SDSS) - Orlando Lines: 13 Xref: watmath net.unix:6670 net.unix-wizards:16157 > > 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