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

📄 p_string.h

📁 linux下ROMMONITOR,FLASH,MODEM等操作原代码,请需要的朋友下载
💻 H
字号:
/*******************************************************************************
 *
 * Filename: p_string.h
 *
 * Definition of basic, private, string operations to prevent inclusion of full
 *
 * Revision information:
 *
 * 20AUG2004	kb_admin	initial creation
 *
 * BEGIN_KBDD_BLOCK
 * No warranty, expressed or implied, is included with this software.  It is
 * provided "AS IS" and no warranty of any kind including statutory or aspects
 * relating to merchantability or fitness for any purpose is provided.  All
 * intellectual property rights of others is maintained with the respective
 * owners.  This software is not copyrighted and is intended for reference
 * only.
 * END_BLOCK
 ******************************************************************************/

#ifndef _P_STRING_H_
#define _P_STRING_H_

#define ToASCII(x) ((x > 9) ? (x + 'A' - 0xa) : (x + '0'))

extern int p_IsWhiteSpace(char cValue);
extern unsigned p_HexCharValue(char cValue);
extern void p_bzero(char *buffer, int size);
extern int p_strlen(char *buffer);
extern void p_ASCIIToHex(char *buf, unsigned *value);
extern void p_memcpy(char *to, char *from, unsigned size);

#endif /* _P_STRING_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -