Table of Contents

Name

tsci2_alloc_context, tsci2_free_context - allocate and free a tsci2 context.

Synopsis

#include <tsci2.h>

tsci2_context tsci2_alloc_context();

void tsci2_free_context();

Description

tsci2_alloc_context() and tsci2_free_context() are very similar to malloc() and free. Just the object being manipulated is tsci2 context.

Return Values

Upon successful completion, tsci2_alloc_context() returns the pointer pointing to allocated context; otherwise, NULL is returned. There is no return value for tsci2_free_context().

Examples

None.

Author

Xun Luo (sherwoodluo@users.sourceforge.net)

See Also

tsci2d(8) , tsci2demo(1) , tsci2measure(1) , tsci2_get_default_context(3) , tsci2_gettimeofday(3) , tsci2_getticks(3) , tsci2_ticks2timeval(3) .


Table of Contents