"busted" malloc

Chuck Ocheret chuck at morgan.com
Thu Mar 9 06:07:33 AEST 1989


One thing worth noting...

fprintf() may indirectly invoke malloc() (the stdio routines do this to
allocate buffer space) which can skew the results of malloc() tests.  If
you wish to examine malloc() results directly use an sprintf() followed by
write().  Or else use dbx.

+------------------+   Chuck Ocheret, Sr. Staff Engineer   +------------------+
| chuck at morgan.com |       Morgan Stanley & Co., Inc.      |  (212)703-4474   |
|   Duty now ...   |19th Floor, 1251 Avenue of the Americas| for the future.  |
+------------------+         New York, N.Y.  10020         +------------------+



More information about the Comp.sys.sun mailing list