Content-type: text/html Man page of stack_inbounds

stack_inbounds

Section: Standard C Library Functions (3C)
Updated: 18 Jul 2002
Index Return to Main Contents
 

NAME

stack_inbounds - determine if address is within stack boundaries  

SYNOPSIS

#include <ucontext.h>

int stack_inbounds(void *addr);  

DESCRIPTION

The 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 VALUES

The 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.  

ERRORS

No errors are defined.  

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
Interface StabilityEvolving
MT-LevelAsync-Signal-Safe

 

SEE ALSO

stack_getbounds(3C), attributes(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES
ERRORS
ATTRIBUTES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:37:26 GMT, October 02, 2010