DC_ITERATOR_FREE(3)

DC_ITERATOR_FREE(3) | Library Functions Manual | DC_ITERATOR_FREE(3)

# NAME

`dc_iterator_free` — frees an iterator

# LIBRARY

library “libdivecomputer”

# SYNOPSIS

`#include <libdivecomputer/iterator.h>`

dc_status_t
`dc_iterator_free`(dc_iterator_t *iterator);

# DESCRIPTION

Frees the iterator iterator. It may be invoked on any iterator type, e.g., one created with dc_descriptor_iterator_new(3).

# RETURN VALUES

This returns `DC_STATUS_SUCCESS` on success (or if iterator is `NULL`) or other values on failure.

# AUTHORS

The library “libdivecomputer” library was written by Jef Driesen, jef@libdivecomputer.org. The manpages were written by
Kristaps Dzonsons, kristaps@bsd.lv.

January 5, 2017 | NetBSD 11.0