![]() |
|
The dececvt() and decfcvt() functions of the ESQL/C library return a character string that can be overwritten if two threads simultaneously call these functions. For this reason, use the following thread-safe versions of these two functions.
Function Name | Description | Page Reference |
---|---|---|
ifx_dececvt() | Thread-safe version of the dececvt() ESQL/C function | B-94 |
ifx_decfcvt() | Thread-safe version of the decfcvt() ESQL/C function | B-94 |
Both of these functions convert a decimal value to an ASCII string and return it in the user-defined buffer.
When you compile your ESQL/C program with the -thread command-line option of the esql command, esql automatically links these functions to your program. These functions are described in Appendix A, The Demonstration Database.