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

📄 pblisamsetcomparefunction.html

📁 B树算法实现
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD>   <TITLE>int pblIsamSetCompareFunction</TITLE>   <META NAME="GENERATOR" CONTENT="DOC++ 3.4.9"></HEAD> <center><H2>Program Base Library Functions</H2></center><H2>int <A HREF="#DOC.DOCU">pblIsamSetCompareFunction</A></H2><H2>( <!1><A HREF="pblIsamFile_t.html">pblIsamFile_t</A>*  isamfile,<BR>&nbsp;  int index,<BR>&nbsp;  int (* keycompare ) ( void* left,<BR>&nbsp;  size_t llen,   void* right,<BR>&nbsp;  size_t rlen ) )</H2><BLOCKQUOTE> set an application specific compare function for a key of an ISAM file</BLOCKQUOTE><A NAME="DOC.DOCU"></A><HR><H2>Documentation</H2><BLOCKQUOTE>set an application specific compare function for a key of an ISAM file<P>parameter index specifies which of the indices to setthe compare function for<P>an application specific compare function can be used in order toimplement special orderings of the values of an index, e.g.because of the use of european "umlauts" in names<P>the default compare function is the c-library memcmp functionthe keycompare function should behave like memcmp<P></BLOCKQUOTE><DL><DT><DT><B>Parameters:</B><DD><B>isamfile</B> -   ISAM file to set function for         <BR><B>index</B> -   index of key to set function for      <BR><B>keycompare</B> -   compare function to set               <BR><B>left</B> -   "left" buffer for compare             <BR><B>llen</B> -   length of that buffer                 <BR><B>right</B> -   "right" buffer for compare            <BR><B>rlen</B> -   length of that buffer                 <BR><DT><B>Returns:</B><DD>  int rc == 0: call went ok<BR>  int rc != 0: some error occured, see pbl_errno<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 + -