Rechercher une page de manuel
ping_construct
Langue: en
Version: 2006-05-29 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
ping_construct - Constructor for the liboping classSYNOPSIS
#include <oping.h>
pingobj_t *ping_construct (void); void ping_destroy (pingobj_t *obj);
DESCRIPTION
The ping_construct constructor allocates the memory neccessary 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 <octo at verplant.org>. It's homepage can be found at <http://verplant.org/liboping/>.(c) 2005, 2006 by Florian octo Forster.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre