Users who wish to use only BS2000 functionality in a program must compile and link such programs with only the library $.SYSLNK.CRTE
.
The environment variable PROGRAM-ENVIRONMENT='SHELL'
must not be set.
If you are using only BS2000 functionality, it is best to work with the manual "C Library Functions" [6 (Related publications)].
Only a part of the library is supported when BS2000 functionality is selected. The following restrictions apply:
All XPG4 Version 2- or XPG5-conformant functions that are executable without POSIX-BC (marked with y in the "XPG4" or "XPG5" column in the table on "Scope of the supported C library".) are fully supported.
- All functions that are marked with y in the column "Other Standards" or "ANSI" in the table on "Scope of the supported C library" are also supported.
All functions that are identified as an extension with BS2000 (marked with an x in the "BS2000" column in the table on "Scope of the supported C library" .) are also supported.
Functions marked with xa are supported with BS2000 functionality only.
Functions that are marked in the table with xd can only access BS2000 files.