ping_get_error - Man Page

Return the last error message

Synopsis

  #include <oping.h>

  const char *ping_get_error (pingobj_t *obj);

Description

The ping_get_error method returns an error message indicating the last error encountered. This method is not thread safe whatsoever.

Return Value

A const string representing the last error or an empty string if no error was encountered yet.

See Also

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.

Referenced By

liboping(3), ping_construct(3), ping_host_add(3), ping_send(3).

2017-05-11 1.10.0 liboping