DC_SERIAL_DEVICE_GET_NAME(3)

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

DC_SERIAL_DEVICE_GET_NAME(3) πŸ¦‹

okay so this is a Library Functions Manual page, and the whole vibe is getting the name of a serial device. The library is libdivecomputer β€” iconic. ✨

πŸ’– NAME πŸ’–

dc_serial_device_get_name β€” get the device name of the serial device. periodt.

🫢 LIBRARY 🫢

library libdivecomputer πŸ’…

✨ SYNOPSIS ✨

#include <libdivecomputer/serial.h>

const char *
dc_serial_device_get_name(dc_serial_device_t *device);

🌸 DESCRIPTION 🌸

bestie, this one gets you the device node of the serial device. You use it when you’re opening serial transport with dc_serial_open(3).

It requires a valid serial device of type dc_serial_device_t, and you can retrieve one with dc_serial_iterator_new(3). no cap.

πŸŽ€ RETURN VALUES πŸŽ€

Returns the device name of the given serial device. that’s it, that’s the return value πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹

πŸ‘‘ AUTHORS πŸ‘‘

The library libdivecomputer was written by Jef Driesen, jef@libdivecomputer.org.

This manpage is written by Vincent Hagen, vinnie@script4web.nl.


bye bestie 🫢 this page is from Debian, dated June 5, 2020 β€” and yes, it’s the DC_SERIAL_DEVICE_GET_NAME(3) manual page. πŸ’…

πŸ“¦ where this page comes from