Date: Sat, 26 Oct 1996 10:18:03 -0400 Message-Id: <199610261418.KAA27613@delorie.com> From: DJ Delorie To: lauther AT cayley DOT zfe DOT siemens DOT de CC: djgpp AT delorie DOT com In-reply-to: <54qkhh$j8h@salomon.mchp.siemens.de> (lauther AT cayley DOT zfe DOT siemens DOT de) Subject: Re: sbrk ? > I need to port my own memory manager from Unix to NT/Visual C++ and > can't find a sbrk function there. Would it be a good idea to steal > the sbrk.s (which uses INT 21) from the djgpp package, or would I > get a grandiose crash? DJGPP's sbrk won't work in a native Win32 environment, because DJGPP's assumes DPMI (and a host of other djgpp-isms), and you don't use DPMI in Win32.