📄 pblkfread.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD> <TITLE>long pblKfRead</TITLE> <META NAME="GENERATOR" CONTENT="DOC++ 3.4.9"></HEAD> <center><H2>Program Base Library Functions</H2></center><H2>long <A HREF="#DOC.DOCU">pblKfRead</A></H2><H2>( <!1><A HREF="pblKeyFile_t.html">pblKeyFile_t</A>* k, unsigned char* data,<BR> long datalen )</H2><BLOCKQUOTE> read the data of the current record of the file</BLOCKQUOTE><A NAME="DOC.DOCU"></A><HR><H2>Documentation</H2><BLOCKQUOTE>read the data of the current record of the file<P>the caller can restrict the number of bytes read byspecifying the maximum number of bytes to read by parameterdatalen, if datalen is 0, all bytes stored for thecurrent record are copied to the buffer pointed to by data.<P><B>RESTRICTIONS</B>:<BR> - data must point to an area of memory being big enough to holdthe bytes copied<BR> - datalen must not be negative, it is ignored otherwise<P></BLOCKQUOTE><DL><DT><DT><B>Parameters:</B><DD><B>k</B> - key file to read from <BR><B>data</B> - data to insert <BR><B>datalen</B> - length of the data <BR><DT><B>Returns:</B><DD> int rc == 0: call went ok, rc is the number of bytes copied<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 + -