What's New in the Solaris 9 9/04 Operating Environment

Stack Check APIs

This feature is new in the Solaris 9 4/03 release.

Stack Check APIs allow for advanced interaction with stack-checking compiler support. Stack-checking compiler support is available in ForteTM 7.0. These APIs should be used in applications that are compiled with stack checking enabled. These are applications that manage their own stacks or attempt to detect their own stack overflows.

Developers who maintain their own thread library need to use the setustack interface to enable consumers of their library to compile with stack checking enabled.

See the stack_getbounds(3C), stack_setbounds(3C), stack_inbounds(3C), and stack_violation(3C) man pages.