Why have Informix duplicated stleng, stcopy() etc in ESQL/C?
All the library functions that Informix is providing in ESQL/C like stleng, stcopy(), stcmpr, are all provided by the standard c library itself. They look the same as the ones strlen, strcpy etc. Are they the same? On most platforms they are functionally the same, but they are usually implemented in assembler code by Informix, and may not be implemented in assembler by the OS. This may give a slight performance advantage to using the Informix versions of the functions. Some of them (byleng for example) do not have an analogous function in the standard C library.