Re: XForms: fl_calloc initialises memory ?

Steve Lamont (spl@szechuan.ucsd.edu)
Fri, 7 Nov 97 08:46:44 PST

To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> I have a query about the fl_calloc() routine. Does it intialise
> allocated memory to zeroes like calloc? I can't find this documented
> in the manual though I could have missed it.

Yes. It is simply a macro which invokes the "real" calloc().

[from forms.h]

/* this gives more flexibility for future changes */

#define fl_free free
#define fl_malloc malloc
#define fl_calloc calloc
#define fl_realloc realloc

Presumably, TC has some sort of memory management scheme ticking in
the back of his mind...

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/