kdk_bios_get_version3
获取bios版本
Usage
#include <libkybios.h> extern const char* kdk_bios_get_version(); Link with -lkyhw.
Detailed Description
The main function of the interface is to obtain bios version
Return value
On success, returns the bios version of type char*; The returned string needs to be released by free
On error, return NULL.
Examples
#include <stdio.h> #include "libkybios.h" #include <stdlib.h>
int main() {
char *vendor = kdk_bios_get_vendor();
char *version = kdk_bios_get_version();
printf("vendor: %s", vendor);
printf("version: %s",version);
free(vendor);
free(version);
return 0; }