DC_BLUETOOTH_DEVICE_GET_NAME(3)

πŸ“¦ version 0.9.0, in nixos 26.05, nixpkgs unstable

okay so bestie, welcome to DC_BLUETOOTH_DEVICE_GET_NAME(3), a Library Functions Manual moment πŸ’– β€” the header line has that DC_BLUETOOTH_DEVICE_GET_(3) energy, and the main-character function is dc_bluetooth_device_get_name. It’s giving β€œask a bluetooth device for its name,” and we’re obsessed. ✨

🌸 NAME 🌸

dc_bluetooth_device_get_name β€” get the name of a bluetooth device. That’s the whole vibe: name retrieval, bestie. πŸŽ€

🫢 LIBRARY 🫢

library β€œlibdivecomputer” β€” yes, that’s the library, no cap. πŸ’…

πŸ“š SYNOPSIS πŸ“š

#include <libdivecomputer/bluetooth.h>

const char *
dc_bluetooth_device_get_name(dc_bluetooth_device_t *device);

πŸ’… DESCRIPTION πŸ’…

This one grabs the name of the given bluetooth device, and it’s used for displaying. πŸ‘€

It requires a valid bluetooth_device of type dc_bluetooth_device_t, which can be retrieved using dc_bluetooth_iterator_new(3). Periodt. πŸ¦‹

πŸ”₯ RETURN VALUES πŸ”₯

The return line is literally: β€œReturns the bluetooth device of device.” That’s the exact return-values tea, bestie. πŸ“

πŸ‘€ SEE ALSO πŸ‘€

🫢 AUTHORS 🫢

The library β€œlibdivecomputer” library was written by Jef Driesen, jef@libdivecomputer.org. This manpage is written by Vincent Hagen, vinnie@script4web.nl.


mwah πŸ’‹ cute little sign-off: footer check β€” Debian, June 5, 2020, DC_BLUETOOTH_DEVICE_GET_NAME(3). Slay. πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from