z/OS Communications Server: IP CICS Sockets Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


The ERRNO variable

z/OS Communications Server: IP CICS Sockets Guide
SC27-3649-00

The global variable errno is used by the socket system calls to report errors. If a socket call results in an error, the call returns a negative value, and an error value is set in errno. To be able to access these values, you must add one of the following include statements:
Non-reentrant programs:
#include <ezacichd.h>

Reentrant programs:
#include <errno.h>
Note:
  • Do not use tcperror().
  • A copy of EZACICHD.H can be found in dataset hlq.SEZAINST.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014