---
name: "kdk_bios_get_vendor"
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_get_vendor"
---

# kdk\_bios\_get\_vendor(3)

获取bios厂商

## NAME

kdk\_bios\_get\_vendor - 获取bios厂商

## SYNOPSIS

```
#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; }

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

## SEE ALSO

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