kdk_bios_get_vendor3
获取bios厂商
Usage
#include <libkybios.h> extern const char* kdk_bios_get_vendor(); Link with -lkyhw.
Detailed Description
The main function of the interface is to obtain bios manufacturer
Return value
On success, returns the bios manufacturer 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; }