📄 cm_lib.x
字号:
/********************************************************************20**
Name: common library functions
Type: C include file
Desc: Prototypes for common functions that are implemented in
both a portable and a performance-efficient manner. These
functions are selected based on the operating system.
File: cm_lib.x
Sid: cm_lib.x 1.5 - 02/24/99 16:06:07
Prg: ak
*********************************************************************21*/
#ifndef __CMLIBX__
#define __CMLIBX__
#ifdef __cplusplus
extern "C" {
#endif
PUBLIC U8 *cmMemcpy ARGS((U8 *tgt, CONSTANT U8 *src, PTR len));
PUBLIC S16 cmMemcmp ARGS((CONSTANT U8 *s1, CONSTANT U8 *s2, PTR len));
PUBLIC U8 *cmMemset ARGS((U8 *src, U8 val, PTR len));
PUBLIC S16 cmStrcmp ARGS((CONSTANT U8 *s1, CONSTANT U8 *s2));
PUBLIC S16 cmStrncmp ARGS((CONSTANT U8 *s1, CONSTANT U8 *s2, S16 len));
PUBLIC S16 cmStrlen ARGS((CONSTANT U8 *s));
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __CMLIBX__ */
/********************************************************************30**
End of file: cm_lib.x 1.5 - 02/24/99 16:06:07
*********************************************************************31*/
/********************************************************************40**
Notes:
*********************************************************************41*/
/********************************************************************50**
*********************************************************************51*/
/********************************************************************60**
Revision history:
*********************************************************************61*/
/********************************************************************80**
version pat init description
----------- ----- ---- ------------------------------------------------
*********************************************************************81*/
/********************************************************************90**
ver pat init description
------------ -------- ---- ----------------------------------------------
1.1 --- ak 1. initial release
1.2 --- mk 2. Modified the function prototype declaration
for cmMemcpy, cmMemcmp, cmMemset, for the
data type of parameter 'len' from S16 to PTR
--- mg 3. Changes to pass through chksrc.
1.3 --- bbk 1. Changed copyright header date.
1.4 --- ns 1. Added extern "C" for making this file C++
compatible
1.5 --- tej 1. Change in header
*********************************************************************91*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -