ping_get_error man page

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.

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) 2005-2016 by Florian "octo" Forster.

Referenced By

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

2016-06-27 1.9.0 liboping