pblkfsetcomparefunction.html

来自「B树算法实现」· HTML 代码 · 共 39 行

HTML
39
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD>   <TITLE>void pblKfSetCompareFunction</TITLE>   <META NAME="GENERATOR" CONTENT="DOC++ 3.4.9"></HEAD> <center><H2>Program Base Library Functions</H2></center><H2>void <A HREF="#DOC.DOCU">pblKfSetCompareFunction</A></H2><H2>( <!1><A HREF="pblKeyFile_t.html">pblKeyFile_t</A>*  k,<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 the keys of a key file</BLOCKQUOTE><A NAME="DOC.DOCU"></A><HR><H2>Documentation</H2><BLOCKQUOTE>set an application specific compare function for the keys of a key file<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>k</B> -   key file to set compare 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>  void<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 + =
减小字号Ctrl + -
显示快捷键?