Table of Contents
qthread_stackleft - returns the amount of space left in the thread’s
allocated stack
#include <qthread.h>
size_t
qthread_stackleft (void);
This function returns the number of
bytes left in the stack.
If run on a qthread, it returns the
number of bytes left in the stack, accurate to a small margin (on the order
of 10 bytes). Otherwise it returns 0.
qthread_id(3)
, qthread_retloc(3)
,
qthread_shep(3)
Table of Contents