IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 22, 2006, 4:35:05 PM (20 years ago)
Author:
Paul Price
Message:

Adding psLibInit and psLibFinalize; adding PS_ALLOC_CHECK feature (implemented already).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/psLibSDRS.tex

    r7645 r7648  
    1 %%% $Id: psLibSDRS.tex,v 1.412 2006-06-23 01:53:42 price Exp $
     1%%% $Id: psLibSDRS.tex,v 1.413 2006-06-23 02:35:05 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    280280\subsection{Initialization}
    281281
    282 Before certain \code{psTime} functions can be employed, the user must
    283 call \code{psTimeInitialize}.
     282Initialization of the library is necessary in the general case.
     283\code{psLibInit} shall initialize those elements of the library that
     284require initialization.  This includes loading the time configuration
     285(through \code{psTimeInitialize}).  In addition, if the environment
     286variable \code{PS_ALLOC_CHECK} (analagous to \code{MALLOC_CHECK_}
     287under GNU libc 2.x), then a memory check (checking for all leaks, and
     288corruption) shall be performed at exit, with any problems reported to
     289the file specified by \code{PS_ALLOC_CHECK}.
     290
     291\code{psLibFinalize} shall free all memory used by psLib.
     292
     293\begin{prototype}
     294void psLibInit(const char *timeConfig);
     295void psLibFinalize(void);
     296\end{prototype}
     297
     298
    284299
    285300\subsection{Memory Management}
Note: See TracChangeset for help on using the changeset viewer.