Документ взят из кэша поисковой машины. Адрес оригинального документа : http://oit.cmc.msu.ru/php/function.yaz-errno.html
Дата изменения: Sun Feb 3 22:58:08 2002
Дата индексирования: Mon Oct 1 21:21:29 2012
Кодировка:
yaz_errno

yaz_errno

(PHP 4 )

yaz_errno -- Returns error number

Description

int yaz_errno ( int id)

Returns error for target (last request). A positive value is returned if the target returned a diagnostic code; a value of zero is returned if no errors occurred (success); negative value is returned for other errors (such as when the target closed connection, etc).

yaz_errno() should be called after network activity for each target - (after yaz_wait() returns) to determine the success or failure of the last operation (e.g. search).