kdk_bios_free(3)

kdk_bios_free3

释放内存

Usage

#include <libkybios.h>

extern void kdk_bios_free(char *info);

Link with -lkyhw.

Detailed Description

The main function of this interface is to release the string returned by the bios module interface.

The argument info is the return value of the kdk_bios_get_vendor or kdk_bios_get_version of the functions

Return value

No return value

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);
kdk_bios_free(vendor);
kdk_bios_free(version);
return 0; }

Conforming to

These functions are as per the withdrawn POSIX.1e draft specification. The following functions are Linux extensions: kdk_bios_get_version(). and kdk_bios_get_vendor().

From libkysdk-system 3.0.1.4-1 in Arch Linux 2026-11-07. Parsed by carta from the page's man source.