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