Changes the guardsize attribute of thread creation.
pthread_attr_setguardsize_np(
attr,
guardsize );
Argument Data Type Access
attr opaque pthread_attr_t read
guardsize longword read
int pthread_attr_setguardsize_np ( pthread_attr_t *attr, long guardsize);
A guard area helps to detect stack overflows by preventing memory access beyond the thread's stack. Large guard areas are necessary when threads might allocate large structures on the stack.
Return Error Description0 Successful completion. -1 [EINVAL] The value specified by attr is invalid.