C run-time library functions interposed in the OpenEdge code
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
The following table lists the C run-time library functions in the OpenEdge code
base made thread safe through interposition:
| CRT functions |
|---|
ctime() |
gmtime()
|
localtime()
|
gethostbyaddr()
|
gethostbyname()
|
getprotobyname()
|
getpwnam()
|
getpwuid()
|
getservbyname()
|
readdir()
|
strerror()
|
ttyname()
|
strtok()
|
rand() |
random()
|
inet_ntoa()
|
getlogin() |
The thread safe versions of these functions are by default interposed on all
platforms except AIX. To ensure interposition on AIX, use the provided csmtcrt.o and the associated csmtlibinit.o file when building the HLC library.
The following table lists the thread safe versions of C run-time library
functions in the
If the C source code has references to
csmtcrt.o file:| Thread safe C run-time library function implementations | Non-thread safe C run-time library functions |
|---|---|
psc_crypt() |
crypt() |
psc_setlocale() |
setlocale() |
localeconv_r() |
localeconv() |
crypt(),
setlocale(), or localeconv(), change those references to their thread safe
implementations.