ping_get_error - Man Page

Return the last error message


  #include <oping.h>

  const char *ping_get_error (pingobj_t *obj);


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 is written by Florian “octo” Forster <ff at>. Its homepage can be found at <>.

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