DC_ITERATOR_NEXT(3)

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

✨ DC_ITERATOR_NEXT(3) ✨

okay bestie, this one is from the Library Functions Manual and it’s all about the libdivecomputer library. Let’s get into it πŸ’–


πŸ¦‹ NAME πŸ¦‹

  • dc_iterator_next β€” next element in an iterator

🌸 LIBRARY 🌸

library β€œlibdivecomputer” β€” yes, that’s the one, the icon itself 🫢

πŸŽ€ SYNOPSIS πŸŽ€

#include <libdivecomputer/iterator.h>

dc_status_t
dc_iterator_next(dc_iterator_t *iterator, void *item);

πŸ’… DESCRIPTION πŸ’…

okay so this is the whole moment: dc_iterator_next() fills in item with the next element in the iterator iterator. That’s literally the vibe ✨

but bestie, the iterator may not be NULL β€” do not come in here passing NULL, that is not the energy we’re accepting today 😭

πŸ”₯ RETURN VALUES πŸ”₯

This returns DC_STATUS_SUCCESS on success. slay.

πŸ‘‘ AUTHORS πŸ‘‘

The library β€œlibdivecomputer” library was written by Jef Driesen, jef@libdivecomputer.org. The manpages were written by Kristaps Dzonsons, kristaps@bsd.lv. icons, honestly 🌈


Debian Β· January 5, 2017 Β· DC_ITERATOR_NEXT(3) β€” mwah, bye bestie πŸ’œ

πŸ“¦ where this page comes from