Functions |
|
RDM_RETCODE | rdm_rdmGetVersion (const char *fmt, char *buf, size_t bytesIn) |
Return RaimaDB Db Engine version information. More... |
|
Detailed Description
Miscelaneous functions API. The functions here are located in RaimaDB DB Engine Library. Linker option:
-l
rdmrdm
Function Documentation
rdm_rdmGetVersion()
RDM_RETCODE rdm_rdmGetVersion | ( | const char * | fmt, |
char * | buf, | ||
size_t | bytesIn | ||
) |
#include <rdmrdmapi.h>
Return RaimaDB Db Engine version information.
This function fills a buffer with a string describing the version of the RaimaDB 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
- n Product Name
- v Version number
- b Build number
- V Full version string
- c Copyright date
- w Owner name
- r Rights text
- C Full Copyright string
- %% Literal percent character
- Return values
-
sOKAY Normal, successful return.
- Locking Requirements
- None
- Parameters
-
[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