[Prev] [Contents] [Next]
Reserved fields must be binary zero
The AS/400 implementation of many APIs require 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, initialize the structure using memset(), or an initialization API provided by the system (pthread_condattr_init() for example). Using structures with reserved fields that are non-zero will cause the EINVAL failure.
[Prev] [Contents] [Next]
Copyright © 1998, IBM Corporation. All rights
reserved.
Comments? Contact rchthrds@us.ibm.com