⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pblisamget.html

📁 B树算法实现
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD>   <TITLE>int pblIsamGet</TITLE>   <META NAME="GENERATOR" CONTENT="DOC++ 3.4.9"></HEAD> <center><H2>Program Base Library Functions</H2></center><H2>int <A HREF="#DOC.DOCU">pblIsamGet</A></H2><H2>( <!1><A HREF="pblIsamFile_t.html">pblIsamFile_t</A>*  isamfile,   int which,   int index,<BR>&nbsp;  unsigned char*  okey )</H2><BLOCKQUOTE> get the key and keylen of a record</BLOCKQUOTE><A NAME="DOC.DOCU"></A><HR><H2>Documentation</H2><BLOCKQUOTE>get the key and keylen of a record<P>parameter which specifies which record to get relativeto the search key specified by index.the following values for which are possible<P><BR><B> PBLTHIS  </B> - get key and keylen of current record<BR><B> PBLNEXT  </B> - get key and keylen of next record<BR><B> PBLPREV  </B> - get key and keylen of previous record<BR><B> PBLFIRST </B> - get key and keylen of first record<BR><B> PBLLAST  </B> - get key and keylen of last record<P>parameter index specifies which of the keys to get,the pseudo index value -1 can be used in order to access the filesequentially in the order the records were inserted.okey is not set in this case, a keylength of 0 is returned in casethe call went ok.<P><P><B>RESTRICTIONS</B>:<BR> - the out parameter okey must point to a memory area that isbig enough to hold any possible key, i.e 255 bytes<P></BLOCKQUOTE><DL><DT><DT><B>Parameters:</B><DD><B>isamfile</B> -   ISAM file to read in                      <BR><B>which</B> -   mode to use for read                      <BR><B>index</B> -   index of key to use for read              <BR><B>okey</B> -   buffer for result key                     <BR><DT><B>Returns:</B><DD>  int rc >= 0:<UL><LI>                  call went ok,the value returned is the lengthof the key of the record found,<LI>                  the key of the record is copied to okey,<LI>                  the current record of the file is set to therecord found</UL>                 <BR>  int rc <  0: <UL>                  <LI>                  some error occured, see pbl_errno </UL><BR><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I></P><HR><BR>This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.</BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -