z/OS UNIX System Services support

This topic describes the support provided by Language Environment services for z/OS UNIX System Services (z/OS UNIX). All of the interfaces described in this topic are intended for applications that include a C environment. The threading interfaces that are provided as CWIs support the POSIX 1003.4a (draft 6) specification. These threading functions cannot be dynamically fetched. For more information about individual CWIs, see the corresponding C functions in z/OS XL C/C++ Runtime Library Reference.
Note:
  1. Functions that end with the characters _np are extensions to the POSIX standard.
  2. Unless otherwise is specified, access to the CWIs in the following sections requires that the runtime option POSIX be set to ON.
  3. Fortran is not supported in this environment.
  4. The CWI arguments for the thread attributes object, the mutex attributes object, the condition variable attributes object, and the rwlock attributes object must be declared in the calling routine. These data types correspond to typedefs defined in the C/C++ runtime library header sys/types.h. For example, the thread attributes object is defined by pthread_attr_t. The size of the object in the calling routine must match the C definition.