[comp.sys.apollo] Malloc?

gah@CML.UNL.EDU (Glen A. Hansen) (11/27/90)

I would like to develop a C program using dynamic memory allocation on a
DN3000 running SR10.2. However, I am unable to locate the alloc.h header
file (or any other containing prototypes for malloc, calloc, and free). 
It would be nice to include a prototype for these routines in my code.
Am I overlooking something obvious?

Thanks in advance,

-Glen Hansen

nazgul@alphalpha.com (Kee Hinckley) (11/28/90)

In article <9011271454.AA09035@cml.unl.edu> gah@CML.UNL.EDU (Glen A. Hansen) writes:
>
>DN3000 running SR10.2. However, I am unable to locate the alloc.h header
...
>Am I overlooking something obvious?

The 'm' in front of 'alloc.h'?
-- 
Alphalpha Software, Inc.	|	motif-request@alphalpha.com
nazgul@alphalpha.com		|-----------------------------------
617/646-7703 (voice/fax)	|	Proline BBS: 617/641-3722

I'm not sure which upsets me more; that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.

hj412fr@duc220.uni-duisburg.de (Martin Anantharaman) (11/28/90)

	I would like to develop a C program using dynamic memory allocation on a
	DN3000 running SR10.2. However, I am unable to locate the alloc.h header
	file (or any other containing prototypes for malloc, calloc, and free). 
	It would be nice to include a prototype for these routines in my code.
	Am I overlooking something obvious?
	
	Thanks in advance,
	
	-Glen Hansen
	
	
There is a malloc.h in /usr/include under sys5.3. It is really meant to go with
the malloc(3X) "fast" allocator but who cares? There are also malloc.h headers in
all /usr/include/CC areas (for C++ 2.0).

Martin Anantharaman

FB7, FG7 (Mechanik)		Work:	+49 (203) 379-3336
Universitaet -GH- Duisburg	Home:	+49 (203) 37 65 89
Lotharstr. 1			FAX:	+49 (203) 379-3052
4100 Duisburg 1			E-Mail: hj412fr@duc220.uni-duisburg.de
West Germany