I have some code that compiles both under Windows Visual Studio and z/OS
XLC.

In Windows the maximum length of a file path is defined by _MAX_PATH and
__MAX_PATH (I guess MS thinks two macros are better than one).

What is the equivalent macro for XLC? Failing that, what *is* the maximum
path length so I can define my own macro?

Posix defines PATH_MAX and I see references to it in the z/OS doc but it
does not seem to be defined for my compile. How do I pick that up? And yes,
I have

#define _XOPEN_SOURCE_EXTENDED 1
#include <stdlib.h>

z/OS V2R4

Thanks,

Charles 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to