_System Calling Convention in OS/2

To use this convention, you must use the _System keyword in the declaration of the function or set the /Ms compiler option.

Note: Because the IBM C and C++ Compilers library functions use the _Optlink convention, if you use the /Ms compiler option, you must include all appropriate library header files to ensure the functions are called with the correct convention.

The following rules apply to the _System calling convention:



Calling Conventions


Examples Using the _System Calling Convention in OS/2
_System Calling Convention in Windows