Taligent libraries

When they exist, use Taligent Application Environment library routines rather than the routines defined in the standard ANSI C libraries. Taligent Application Environment routines might have a more efficient implementation than their C library equivalents, and Taligent maintains control over their definition, semantics, and performance. For example, use memory allocation routines defined in the class TMemHeap rather than malloc and realloc (better still, use new and delete rather than malloc and free).

Standard C libraries are more generic and are not always aware of conditions that Taligent Application Environment routines must know about. For example, the standard C string functions don't support Unicode properly, and memcpy() doesn't handle overlapping moves from lower to higher addresses (use TMemorySurrogate instead).


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker