www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/06/13:15:34

From: Christopher Croughton <crough45 AT amc DOT de>
Message-Id: <97Nov6.200722gmt+0100.11649@internet01.amc.de>
Subject: Memory allocation
To: djgpp AT delorie DOT com
Date: Thu, 6 Nov 1997 19:12:59 +0100
Mime-Version: 1.0

How standard is the sbrk(2) function?  It's on every Unix I've seen,
and appears to be in DJGPP as well, but it's not as far as I can tell 
ANSI.  How much can I rely on it being there, and is using it likely
to mess up malloc etc.?  Does it actually work under DJGPP as it does
in Unix?

How about the mmap(2) function?  That sounds really useful if it works...

Chris C

- Raw text -


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