LIBKYBLUETOOTH(3)

📦 version 3.0.1.4, in arch rolling, ubuntu resolute, ubuntu stonking

✨ LIBKYBLUETOOTH(3) — the library functions manual, but make it cute ✨

okay bestie, sit down, hydrate, and let me tell you about libkybluetooth, a library manual page from the Library Functions Manual. it's giving "bluetooth info go brrr" and honestly? we're obsessed. 🦋


🌸 NAME 🌸

the whole girl group, together at last — these functions are all about 获取蓝牙信息 (yes that's Chinese for "get bluetooth information", iykyk 💅):

  • kdk_bluetooth_get_device_id
  • kdk_bluetooth_get_manufacturer
  • kdk_bluetooth_get_dev_version
  • kdk_bluetooth_get_name
  • kdk_bluetooth_get_address
  • kdk_bluetooth_get_link_mode
  • kdk_bluetooth_get_link_policy
  • kdk_bluetooth_get_bus
  • kdk_bluetooth_get_scomtu
  • kdk_bluetooth_get_alcmtu
  • kdk_bluetooth_get_packettype
  • kdk_bluetooth_get_features

no cap, that's the full roster. 👑


🎀 SYNOPSIS 🎀

first things first, you gotta pull in the header, periodt:

#include <libkybluetooth.h>

then here's the whole cast, signatures exactly as they are, don't @ me:

extern int** kdk_bluetooth_get_device_id();

extern char* kdk_bluetooth_get_manufacturer(int num);

extern char* kdk_bluetooth_get_dev_version(int num);

extern char* kdk_bluetooth_get_name(int id);

extern char* kdk_bluetooth_get_address(int id);

extern char* kdk_bluetooth_get_link_mode(int id);

extern char* kdk_bluetooth_get_link_policy(int id);

extern char* kdk_bluetooth_get_bus(int id);

extern char* kdk_bluetooth_get_scomtu(int id);

extern char* kdk_bluetooth_get_alcmtu(int id);

extern char* kdk_bluetooth_get_packettype(int id);

extern char* kdk_bluetooth_get_features(int id);

and when you link it, bestie, don't forget the flag or the linker will simply not know her:

-lkybluetooth

💖 Detailed Description 💖

this library contains bluetooth information. that's the vibe. that's the whole vibe. lowkey iconic that a whole library gets to just be that. ✨


🫶 RETURN VALUE 🫶

so like… the return value is generally specific to the individual function called. every function does its own thing, main character energy per function, no shared group chat rules here. 😭


💀 CONFORMING TO 💀

these functions are as per the withdrawn POSIX.1e draft specification — yeah, withdrawn, she left the group chat, but these functions still stan her legacy.

and the following functions are Linux extensions (homegrown, self-made, iconic 💅):

  • kdk_bluetooth_get_device_id()
  • kdk_bluetooth_get_manufacturer()
  • kdk_bluetooth_get_dev_version()
  • kdk_bluetooth_get_name()
  • kdk_bluetooth_get_address()
  • kdk_bluetooth_get_link_mode()
  • kdk_bluetooth_get_link_policy()
  • kdk_bluetooth_get_bus()
  • kdk_bluetooth_get_scomtu()
  • kdk_bluetooth_get_alcmtu()
  • kdk_bluetooth_get_packettype()
  • kdk_bluetooth_get_features()

🌈 SEE ALSO 🌈

go read these next, they're all linked together like the friend group that shares one brain cell (affectionate):


and that's the page, babe 🎀 this one came from the Linux Programmer's Manual, dated Fri Aug 25 2023 — so it's a little vintage, a little timeless, very much still serving. go forth and get that bluetooth info fr fr 💜

📦 where this page comes from