---
name: "kdk_bios_free"
section: "3"
platform: "linux"
package: "libkysdk-system"
version: "3.0.1.4-1"
release: "Arch Linux 2026-11-07"
platforms: ["linux"]
url: "https://carta.tech/man/kdk_bios_free"
---

# kdk\_bios\_free(3)

释放内存

## NAME

kdk\_bios\_free - 释放内存

## SYNOPSIS

```
#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**().

## SEE ALSO

[**kdk\_bios\_get\_version**(3)](/man/kdk_bios_get_version/3.md). and [**kdk\_bios\_get\_vendor**(3)](/man/kdk_bios_get_vendor/3.md).
