Purpose
Use this function to set the stack address and stack size attributes in the pthread attribute object attr. The stackaddr argument represents the stack address as an Integer pointer. The stacksize argument is an integer that represents the size of the stack in bytes. When creating a thread using the attribute object attr, the system allocates a minimum stack size of stacksize bytes.
Class
Function
Argument Type and Attributes
Result Type and Attributes
INTEGER(4)
Result Value
On successful completion, this function returns 0. Otherwise, this function returns one of the following errors.