📄 myansi.h
字号:
/**************************************************************
;* *
;* INSTUTITE FOR INFORMATION INDUSTRY *
;* MYANSI HEADER -- RAMDISK *
;* September 23, 1998 *
;* *
;*************************************************************/
#ifndef _MY_ANSI_H
#define _MY_ANSI_H
/*************************************************************
Function: myStrLen
Description:
get the length of a string
Input:
src - the source string with a mix of single-byte and
double-byte chars
Output:
**************************************************************/
int myStrLen(unsigned char *src);
/**************************************************************
Function: myStrCpy
Description:
copy the content of a string to another buffer
Input:
to - the source string
from - the destination string
**************************************************************/
unsigned char *myStrCpy(unsigned char *to, const unsigned char *from);
/*************************************************************
Function: myPrintInt
Description:
print a number without going to the next line
Input:
number - the number to be printed
type - the form in which the number is printed (DEC, HEX, ...)
**************************************************************/
void myPrintInt(unsigned long number, int type);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -