ping_iterator_count(3)

NAME

ping_iterator_count - Count the number of hosts in a liboping object

SYNOPSIS

#include <oping.h>

int ping_iterator_count (pingobj_t *obj);

DESCRIPTION

This functions is used to count the number of hosts currently associated with a liboping object.

RETURN VALUE

The ping_iterator_count returns an integer number or zero if no host is associated with obj.

SEE ALSO

ping_host_add(3), ping_iterator_get(3), ping_iterator_next(3), liboping(3)

AUTHOR

liboping is written by Florian “octo” Forster . Its homepage can be found at http://noping.cc/.

Copyright © 2006-2017 by Florian “octo” Forster.