Functions | |
RDM_RETCODE | rdm_rdmGetVersion (const char *fmt, char *buf, size_t bytesIn) |
Return RDM Db Engine version information. More... | |
Miscelaneous functions API. The functions here are located in RDM DB Engine Library. Linker option:
-lrdmrdm
RDM_RETCODE rdm_rdmGetVersion | ( | const char * | fmt, |
char * | buf, | ||
size_t | bytesIn | ||
) |
#include <rdmrdmapi.h>
Return RDM Db Engine version information.
This function fills a buffer with a string describing the version of the RDM library according to a format string. The format string consists of plaintext (copied to the string buffer) and format specifiers introduced by a percent ("%") character. See list below.
If a NULL is passed in for fmt then the default format string will be used. The default format string is the full version string "%V". This corresponds to "%n %v Build %b"
rdm_rdmGetVersion() Type Field Characters
sOKAY | Normal, successful return. |
[in] | fmt | A string that specifies how the version information is to be formatted. |
[out] | buf | A string buffer to receive the formatted version string. |
[in] | bytesIn | The length of buf in bytes |