www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/29/13:44:40

Date: Sat, 29 Sep 2001 19:41:00 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: Les Cargill <lcargill AT worldnet DOT att DOT net>
Message-Id: <8361-Sat29Sep2001194059+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <3BB5FAAD.AB8B09C1@worldnet.att.net> (message from Les Cargill on
Sat, 29 Sep 2001 16:42:58 GMT)
Subject: Re: what's #include <alloc.h>?
References: <o1at7.26464$2H2 DOT 2100965 AT e3500-atl1 DOT usenetserver DOT com> <3BB5378E DOT 8E596BC8 AT worldnet DOT att DOT net> <3BB56F83 DOT 5DD6EEAB AT yahoo DOT com> <3BB5FAAD DOT AB8B09C1 AT worldnet DOT att DOT net>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: Les Cargill <lcargill AT worldnet DOT att DOT net>
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 29 Sep 2001 16:42:58 GMT
> 
> Just to be persnickety, he asked about <alloh.h>. There are things 
> declared there other than malloc().

Those other things are either in stddef.h or specific to Bolrand and
not available anywhere else (coreleft).  In the latter case, the
problem is not the header, but the absence of the functions in the
library.

So if the OP is porting the program to DJGPP, he needs to stop using
non-portable functions, and _then_ stdlib.h and stddef.h will be
enough.

> There is probably no direct <alloc.h> replacement in GNU.

DJGPP is not GNU, it's a separate project.  And its library is not the
GNU C library, it was written from scratch, specifically for the DJGPP
project.

- Raw text -


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