| N F O _ I S I N S T A C K ( )
| | | | | SOURCE: qdev_autodocs.txt 1.163 (12/09/2014) English AMIGA - NFO_#?
----------------------------------------------------------------------------
NAME
nfo_isinstack() - Checks if given address fits task or
process stack space.
SYNOPSIS
res = nfo_isinstack(tc, addr);
LONG nfo_isinstack(struct Task *, void *);
FUNCTION
This func. allows to check if given address is within
stack of some task or process.
INPUTS
tc - Task/process pointer.
addr - Address to check.
RETURNS
Returns 0 if address is out of bounds or 1 if it fits
current task/process stack space.
BASES
SysBase
NOTES
This function may also return 0 if passed 'tc' has no
valid stack.
This func. makes use of SIGF_SINGLE and also does the
atomic context swap, so it may break 'Forbid()'!
SEE ALSO
nfo_ischildofproc(), nfo_issegremote()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |