Try OpenEdge Now
skip to main content
Programming Interfaces
External Program Interfaces : Host Language Call Interface : Writing C functions : Naming C functions
 
Naming C functions
You must name all external functions (entry points) so that your function names do not conflict with ABL entry point names.
On many systems, if you have an entry point in your code with the same name as an ABL entry point, the linker detects duplicate entry point symbols and displays an error message. However, on some systems the linker replaces one entry point with the other, and does not display a message.
No ABL entry point ends with _USR. Therefore, use the following syntax to guarantee that your function names do not conflict with ABL entry point names:

Syntax

function-name_USR ( ... )
The function-name is any name compatible with your development environment. For example, you might have a function called calc_USR().