DOKK / manpages / debian 12 / liboping-dev / ping_get_error.3.en
ping_get_error(3) liboping ping_get_error(3)

ping_get_error - 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.

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

liboping(3)

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.

2022-10-20 1.10.0