"Fossies" - the Fresh Open Source Software Archive

Member "liboping-1.10.0/src/mans/ping_construct.3" (11 May 2017, 5148 Bytes) of package /linux/privat/liboping-1.10.0.tar.gz:


Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even erroneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the latest Fossies "Diffs" side-by-side code changes report for "ping_construct.3": 1.9.0_vs_1.10.0.

ping_construct

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
AUTHOR

NAME

ping_construct − Constructor for the liboping class

SYNOPSIS

#include <oping.h>
pingobj_t *ping_construct (void);
void ping_destroy (pingobj_t *obj);

DESCRIPTION

The ping_construct constructor allocates the memory necessary for a liboping object, initializes that memory and returns a pointer to it.

The ping_destroy iterates over all hosts associated with the liboping object obj, closes the sockets, removes the hosts and frees obj’s memory.

RETURN VALUE

The ping_construct constructor returns a pointer to the allocated memory or NULL if no memory could be allocated.

SEE ALSO

ping_setopt(3), ping_send(3), ping_host_add(3), ping_get_error(3), ping_iterator_get(3), liboping(3)

AUTHOR

liboping is written by Florian "octo" Forster <ff at octo.it>. Its homepage can be found at <http://noping.cc/>.

Copyright (c) 2006−2017 by Florian "octo" Forster.