Initializing a freestanding application without Language Environment.

The EDCXSTRT routine is for C applications that do not use any z/OS® Language Environment® facilities or z/OS XL C facilities or library functions. It must be explicitly included in the program and specified as the program entry point if it is to be used. Under this environment, only the following library routines are supported:
  • Built-in compiler functions. For a list of these functions, see Using functions in the system programming C environment.
  • Memory management routines, including malloc(), calloc(), realloc(), and free().
  • The exit() and sprintf() functions.
    Note: The use of floating point conversion specifiers (e, E, f, g or G) is not supported without the Language Environment runtime. Since the use of EDCXSTRT allows the application to execute without the use of the Language Environment runtime, the use of the above conversion specifiers with sprintf() in this environment is not supported.
  • The __4kmalc() and __24malc() functions.

The value returned to the host system will be the return value from main().

The RENT compiler option is supported in this environment.