far_malloc for SCO Xenix

Frank Bicknell frankb at usource.UUCP
Sat Feb 11 01:09:42 AEST 1989


In article <20114 at agate.BERKELEY.EDU>, ked at garnet.berkeley.edu (Earl H. Kinmonth) writes:

> Does anyone have working equivalents to far_malloc() and
> far_free() for SCO Xenix 286? 

Check out the library routines in Llibc.a called fmalloc()
and ffree().  These routines are found in fmalloc.o.  There
are also routines called nmalloc() and nfree() in nmalloc.o.
 
I stumbled upon these while trying to cheat the malloc() call
and install my own which kept track of pointers (see Dr Dobbs,
June, 1988...).

The routines aren't documented anywhere that I know of, but
their behaviour seems to be predictable... they are the far and
near versions of malloc() and free().
-- 
Frank Bicknell                                       \      Pi are round, silly!
USMAIL: 1405 Main St, Ste 709, Sarasota, FL 34236   ==------------------------\ 
UUCP: killer!usource!frankb                         ==------------------------/ 
DOMAIN: frankb at usource.UUCP                          /                          



More information about the Comp.unix.xenix mailing list