DC_IOSTREAM_CLOSE(3)

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

πŸ’– DC_IOSTREAM_CLOSE(3) πŸ’– β€” Library Functions Manual

🌸 NAME 🌸

dc_iostream_close β€” Close the I/O stream and free all resources.

πŸŽ€ LIBRARY πŸŽ€

This one lives in the libdivecomputer library, bestie. ✨

✨ SYNOPSIS ✨

#include <libdivecomputer/iostream.h>

dc_status_t
dc_iostream_close(dc_iostream_t *iostream);

πŸ’… DESCRIPTION πŸ’…

Okay so this is the goodbye-and-cleanup call:

  • Close the I/O stream and free all resources. πŸ’–
  • Accepts the iostream to close and free. 🫢

πŸ”₯ RETURN VALUES πŸ”₯

  • Returns DC_STATUS_SUCCESS on success. πŸ‘‘
  • Or another dc_status_t code on failure. 😭

πŸ¦‹ SEE ALSO πŸ¦‹

πŸ‘‘ AUTHORS πŸ‘‘

  • The libdivecomputer library was written by Jef Driesen, jef@libdivecomputer.org. 🧚
  • This manpage was written by Vincent Hagen, vinnie@script4web.nl. πŸ’œ

cute little sign-off time: this page is from Debian, dated June 5, 2020, and its footer tag is DC_IOSTREAM_CLOSE(3). periodt πŸ’…πŸ’–

πŸ“¦ where this page comes from