.B int gearman_worker_errno(gearman_worker_st *worker);
42
.B int gearman_worker_errno(gearman_worker_st\fI\ *worker\fP)
43
43
.UNINDENT
44
44
.sp
45
45
Link with \-lgearman
46
46
.SH DESCRIPTION
47
47
.sp
48
\fBgearman_worker_error()\fP and \fBgearman_worker_errno()\fP report on the last errors that the worker reported/stored in \fBgearman_worker_st()\fP. If you are interested in recording all errors please see \fBgearman_worker_set_log_fn()\fP.
48
\fI\%gearman_worker_error()\fP and \fI\%gearman_worker_errno()\fP report on the last errors that the worker reported/stored in \fBgearman_worker_st\fP. If you are interested in recording all errors please see \fBgearman_worker_set_log_fn()\fP.
49
49
.SH RETURN VALUE
50
50
.sp
51
\fBgearman_worker_errno()\fP returns the last \fIerrno\fP that the worker recorded.
51
\fI\%gearman_worker_errno()\fP returns the last \fIerrno\fP that the worker recorded.