X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f NNTP-Posting-Date: Thu, 08 Sep 2005 06:11:35 -0500 Date: Thu, 08 Sep 2005 07:11:36 -0400 From: Joe Wright User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Pb with sprintf References: <2497d9a2050907160124a508c7 AT mail DOT gmail DOT com> <3oak7kF50c1lU2 AT news DOT dfncis DOT de> In-Reply-To: <3oak7kF50c1lU2@news.dfncis.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Lines: 25 NNTP-Posting-Host: 69.143.13.12 X-Trace: sv3-v4zjfrW0g/yVcRxsH2iu0NX9Qh//RVzIYjrcFB4NQqmpSm966qPjnNU6CEZZ6H8UL8s7rBrNy1ID5dl!t6k9hBt/l09dGtY9jXT28DSChQDZM+FmMOWfmZ4epFWAC+Qmm2IlSHqocpa8OFUdsw8i+4zuHfHR!HQ== X-Complaints-To: abuse AT comcast DOT net X-DMCA-Complaints-To: dmca AT comcast DOT net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hans-Bernhard Broeker wrote: > 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. > What could sprintf() do with malloc()? -- Joe Wright "Everything should be made as simple as possible, but not simpler." --- Albert Einstein ---