1 =head1 NAME
3 ping_get_error - Return the last error message
5 =head1 SYNOPSIS
7 #include <oping.h>
9 const char *ping_get_error (pingobj_t *obj);
11 =head1 DESCRIPTION
13 The B<ping_get_error> method returns an error message indicating the last error
14 encountered. B<This method is not thread safe whatsoever.>
16 =head1 RETURN VALUE
18 A C<const> string representing the last error or an empty string if no error
19 was encountered yet.
21 =head1 SEE ALSO
23 L<liboping(3)>
25 =head1 AUTHOR
27 liboping is written by Florian octo Forster E<lt>octo at verplant.orgE<gt>.
28 Its homepage can be found at L<http://verplant.org/liboping/>.
30 (c) 2005-2009 by Florian octo Forster.