X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: Pb with sprintf Date: 8 Sep 2005 11:05:24 GMT Lines: 17 Message-ID: <3oak7kF50c1lU2@news.dfncis.de> References: <2497d9a2050907160124a508c7 AT mail DOT gmail DOT com> X-Trace: news.dfncis.de r5MO6fYclH4TyGeQlRhf6ALtHU0TK2qj3p7DtzpqGwZQAgZ56OfidmH+ws X-Orig-Path: not-for-mail To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com philippe meynard wrote: > The code work fine in a single task, but when there are 2 ou 3 tasks > who used sprintf, this code crash. Multitasked *how*? Crashes *how*? > My question > do you know if the function sprintf used dos call dpmi_int (0x21) or return > the processor to the real mode or used malloc ? It quite certainly doesn't call DOS, nor switch to 16-bit mode. It may use malloc(), though. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.