.\" gcInitialize.3 .\" $Id: //info.geodesic.com/gc/version/walton/src/GCDocs/Lite/man/man3/gcInitialize.3#1 $ .\" Copyright 1998 Geodesic Systems. All rights reserved. .nr X .TH gcInitialize 3 "1998-06-12" .SH NAME gcInitialize \- configure Sun WorkShop Memory Monitor at startup .SH SYNOPSIS .LP .B #include .LP .B gcInitFunction gcInitialize(void); .SH MT-LEVEL .LP Should not be called by user threads. .SH DESCRIPTION The Sun WorkShop Memory Monitor calls .B gcInitialize at startup to give the user the opportunity to configure settings. Users may define their own settings by including a function named .B gcInitialize in their programs using the form above. .LP User programs should not call .B gcInitialize directly. .LP To use the Sun WorkShop Memory Monitor you must link your program with one of the Sun WorkShop Memory Monitor libraries (see .BR FILES ). .SH RETURN VALUES Do not return a value from .BR gcInitialize . .SH EXAMPLES .nf .ft 3 .ta .5i 1.0i 1.5i 2.0i #include \&. . . gcInitFunction gcInitialize(void) { gcFixPrematureFrees(); } .ft 1 .fi .SH FILES .TP .BR libgc.a , " libgc.so" Sun WorkShop Memory Monitor libraries for deployment mode. .TP .BR libgc_dbg.a , " libgc_dbg.so" Sun WorkShop Memory Monitor libraries for debugging mode, enabling interaction with .BR gcmonitor (1). .SH SEE ALSO .BR gcFixPrematureFrees (3) .BR gcStopFixingPrematureFrees (3) .BR gcmonitor (1) .LP "Configuring Sun WorkShop Memory Monitor" .I Sun WorkShop Memory Monitor User's Manual