CEEOPAGS

C library interface: pthread_attr_getstacksize()

CEEOPAGS obtains the thread's stack_size attribute from the specified thread attribute object.

Syntax

void CEEOPAGS (attr, stack_size, [fc])
CEE_PTAT    *attr;
INT4        *stack_size;
FEED_BACK   *fc;
CEEOPAGS
Call this CWI interface as follows:
L     R15,CEECAALEOV-CEECAA(,R12)     CAA address is in R12
L     R15,0140(,R15)
BALR  R14,R15
attr (input)
The initialized thread attribute object.
stack_size (output)
The non-negative stack_size attribute value (in bytes).
fc (output/optional)
The feedback code returned by the service. It indicates the degree of success in getting the thread stack size attribute.

The following message identifiers and associated severities can be returned by the service in the feedback code fc.

Condition Description type Description value
CEE000 Severity 0
Msg_No 0000
Message The service completed successfully.
CEE5F1 Severity 3
Msg_No 5601
Message Thread attribute object that is not valid was specified.