Man Page gcInitialize.3




NAME

     gcInitialize - configure settings at startup


SYNOPSIS

     #include <gct.h>

     gcInitialize(void);


MT-LEVEL

     Should not be called by user threads.


DESCRIPTION

     libgc calls gcInitialize at startup to  give  the  user  the
     opportunity  to  configure settings.  Users may define their
     own settings by including a function named  gcInitialize  in
     their programs using the form above.

     User programs should not call gcInitialize directly.

     To use the gcInitialize function, you must link your program
     with one of the libraries (see FILES).


RETURN VALUES

     Do not return a value from gcInitialize.


EXAMPLES

     #include <gct.h>
     . . .
     gcInitialize(void)
     {
          gcFixPrematureFrees();
     }


FILES

     libgc.a, libgc.so
          Libraries for deployment mode.

     libgc_dbg.a, libgc_dbg.so
          Libraries for debugging mode.


SEE ALSO

     gcFixPrematureFrees(3) gcStopFixingPrematureFrees(3)