The i5/OS implementation of many APIs requires that reserved fields in certain parameters or data structures be set to binary zero before using a structure as input to an API or system service. You should initialize the structure using memset() or an initialization API provided by the system, such as pthread_condattr_init(). Using structures with reserved fields that are non-zero causes the EINVAL error.
Pthread APIs | APIs by category |