编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « GearmanWorker::error
  • GearmanWorker::options »
  • PHP Manual
  • GearmanWorker
  • Get errno

GearmanWorker::getErrno

(PECL gearman >= 0.5.0)

GearmanWorker::getErrno — Get errno

说明

public GearmanWorker::getErrno ( void ) : int

Returns the value of errno in the case of a GEARMAN_ERRNO return value.

参数

此函数没有参数。

返回值

A valid errno.

参见

  • GearmanWorker::error() - Get the last error encountered

相关文章
php gearman the gearmanworker classphp posix 函数 retrieve the system error message associated with the given errnophp swoole 函数 convert the errno into error messagesphp gearmanworker register and add callback functionphp gearmanworker add worker optionsphp gearmanworker add a job serverphp gearmanworker add job serversphp gearmanworker create a copy of the workerphp gearmanworker get errnophp gearmanworker register a function with the job serverphp gearmanworker remove worker optionsphp gearmanworker get last gearman return codephp gearmanworker give the worker an identifier so it can be tracked when asking gearmand for the list of available workersphp gearmanworker set worker optionsphp gearmanworker set socket i/o activity timeoutphp gearmanworker get socket i/o activity timeoutphp gearmanworker unregister a function name with the job serversphp gearmanworker unregister all function names with the job serversphp gearmanworker wait for activity from one of the job serversphp gearmanworker wait for and perform jobs
关注编程学问公众号
编程学问网 湘ICP备20001732号