This section presents some internal portability considerations related to porting to the Linux platform.
The lowest 4K of memory (that is, addresses 0 through 4K-1) are readable and contain zeroes on AIX, but are not readable on the Linux and Mac OS X platforms, and will cause a segmentation violation if accessed on those platforms. For example,
if (strcmp(a, NULL) == 0) ...
results in a segmentation violation on Linux and Mac OS X, but not on AIX.
Related References
The following IBM Redbooks contain information related to porting. Other Redbooks are available online at www.redbooks.ibm.com.