delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/29/14:19:21

Message-ID: <3BB60EE7.4D869B6B@worldnet.att.net>
From: Les Cargill <lcargill AT worldnet DOT att DOT net>
X-Mailer: Mozilla 4.72 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
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> <8361-Sat29Sep2001194059+0300-eliz AT is DOT elta DOT co DOT il>
Lines: 30
Date: Sat, 29 Sep 2001 18:09:15 GMT
NNTP-Posting-Host: 12.86.210.90
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc06-news.ops.worldnet.att.net 1001786955 12.86.210.90 (Sat, 29 Sep 2001 18:09:15 GMT)
NNTP-Posting-Date: Sat, 29 Sep 2001 18:09:15 GMT
Organization: AT&T Worldnet
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com


Eli Zaretskii wrote:
> 
> > 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.

Doh! Thanks for the correction. My bad. 

--
http://home.att.net/~lcargill

- Raw text -


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