Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > main > by-pkgid > 0afeee9cca140e167a996902b9a677c5 > files > 2896

php-manual-en-4.3.0-2mdk.noarch.rpm

<HTML
><HEAD
><TITLE
>yaz_errno</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="PHP Manual"
HREF="index.html"><LINK
REL="UP"
TITLE="YAZ functions"
HREF="ref.yaz.html"><LINK
REL="PREVIOUS"
TITLE="yaz_element"
HREF="function.yaz-element.html"><LINK
REL="NEXT"
TITLE="yaz_error"
HREF="function.yaz-error.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=ISO-8859-1"></HEAD
><BODY
CLASS="refentry"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>PHP Manual</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.yaz-element.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.yaz-error.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.yaz-errno"
></A
>yaz_errno</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN97704"
></A
><P
>    (PHP 4 &#62;= 4.0.1)</P
>yaz_errno&nbsp;--&nbsp;Returns error number</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN97707"
></A
><H2
>Description</H2
>int <B
CLASS="methodname"
>yaz_errno</B
> ( resource id)<BR
></BR
><P
>&#13;     Returns error for target (last request). The error code is either
     a Z39.50 diagnostic code (usually a Bib-1 diagnostic) or a
     client side error code which is generated by PHP/YAZ itself, such
     as "Connect failed", "Init Rejected", etc.
    </P
><P
>&#13;     <B
CLASS="function"
>yaz_errno()</B
> should be called after network
     activity for each target - (after <A
HREF="function.yaz-wait.html"
><B
CLASS="function"
>yaz_wait()</B
></A
>
     returns) to determine the success or failure of the last
     operation (e.g. search). To get a text description of the
     error, call <A
HREF="function.yaz-error.html"
><B
CLASS="function"
>yaz_error()</B
></A
>.
    </P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.yaz-element.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.yaz-error.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>yaz_element</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.yaz.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>yaz_error</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>