delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/09/08/07:15:20.1

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
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: <dfmqgu$mfs$1 AT s1 DOT news DOT oleane DOT net> <gL-dnSZBgocSw4LeRVn-uQ AT comcast DOT com> <2497d9a2050907160124a508c7 AT mail DOT gmail DOT com> <dfp3ue$2tk$1 AT s1 DOT news DOT oleane DOT net>
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 <philippe DOT meynard AT vendeeconcept DOT com> 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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019