_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 call Code Generation Option to gen(call,system) when you invoke the compiler.

Note: Because the VisualAge C++ library functions use the _Optlink convention, if you use the call Code Generation 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