Query: stack_inbounds
OS: sunos
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
stack_inbounds(3C) Standard C Library Functions stack_inbounds(3C)NAMEstack_inbounds - determine if address is within stack boundariesSYNOPSIS#include <ucontext.h> int stack_inbounds(void *addr);DESCRIPTIONThe stack_inbounds() function returns a boolean value indicating whether the address specified by addr is within the boundaries of the stack of the calling thread. The address is compared to the stack boundary information returned by a call to stack_getbounds(3C).RETURN VALUESThe stack_inbounds() function returns 0 to indicate that addr is not within the current stack bounds, or a non-zero value to indicate that addr is within the stack bounds.ERRORSNo errors are defined.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |Async-Signal-Safe | +-----------------------------+-----------------------------+SEE ALSOstack_getbounds(3C), attributes(5) SunOS 5.10 18 Jul 2002 stack_inbounds(3C)
Related Man Pages |
---|
stack_getbounds(3c) - opensolaris |
getustack(2) - sunos |
setustack(2) - sunos |
_stack_grow(3c) - sunos |
stack_getbounds(3c) - sunos |
Similar Topics in the Unix Linux Community |
---|
finding stack location in C using program |
-Warray-bounds option to GCC compiler |