~mordred/gearmand/cancel-job

« back to all changes in this revision

Viewing changes to docs/libgearman/gearman_worker_error.rst

  • Committer: Brian Aker
  • Date: 2012-05-04 03:46:04 UTC
  • Revision ID: brian@tangent.org-20120504034604-5t22ae4v2o45zjkq
Update for libtest, documentation, and fix for root bzr dir.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 
10
10
#include <libgearman/gearman.h>
11
11
 
12
 
.. c:function:: const char *gearman_worker_error(const gearman_worker_st *worker);
 
12
.. c:function:: const char *gearman_worker_error(const gearman_worker_st *worker)
13
13
 
14
 
.. c:function:: int gearman_worker_errno(gearman_worker_st *worker);
 
14
.. c:function:: int gearman_worker_errno(gearman_worker_st *worker)
15
15
 
16
16
Link with -lgearman
17
17
 
20
20
DESCRIPTION
21
21
-----------
22
22
 
23
 
:c:func:`gearman_worker_error()` and :c:func:`gearman_worker_errno()` report on the last errors that the worker reported/stored in :c:type:`gearman_worker_st()`. If you are interested in recording all errors please see :c:func:`gearman_worker_set_log_fn()`.
 
23
:c:func:`gearman_worker_error` and :c:func:`gearman_worker_errno` report on the last errors that the worker reported/stored in :c:type:`gearman_worker_st`. If you are interested in recording all errors please see :c:func:`gearman_worker_set_log_fn`.
24
24
 
25
25
------------
26
26
RETURN VALUE
27
27
------------
28
28
 
29
 
:c:func:`gearman_worker_errno()` returns the last :manpage:`errno` that the worker recorded.
 
29
:c:func:`gearman_worker_errno` returns the last :manpage:`errno` that the worker recorded.
30
30
 
31
31
----
32
32
HOME