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

📄 str.h

📁 source code of armboot for s3c4510
💻 H
字号:
/*
 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
 * All rights reserved.
 *
 * This software is copyrighted by and is the sole property of
 * VIA Networking Technologies, Inc. This software may only be used
 * in accordance with the corresponding license agreement. Any unauthorized
 * use, duplication, transmission, distribution, or disclosure of this
 * software is expressly forbidden.
 *
 * This software is provided by VIA Networking Technologies, Inc. "as is"
 * and any express or implied warranties, including, but not limited to, the
 * implied warranties of merchantability and fitness for a particular purpose
 * are disclaimed. In no event shall VIA Networking Technologies, Inc.
 * be liable for any direct, indirect, incidental, special, exemplary, or
 * consequential damages.
 *
 *
 * File:    str.h
 *
 * Purpose: String operations (used to replace "string.h")
 *
 * Author:  Jenda Jao
 *
 * Date:    Jan 08, 2002
 *
 */


#ifndef __STR_H__
#define __STR_H__

#if !defined(__TTYPE_H_)
#include "ttype.h"
#endif



/*---------------------  Export Definitions  ------------------------*/

/*---------------------  Export Types  ------------------------------*/

/*---------------------  Export Macros  -----------------------------*/
//#define STR_iU32ToStrDec(pszResult, u32Value)    STRiU32ToStr(pszResult, u32Value, 10)
//#define STRiU32ToStrHex(pszResult, u32Value)    STRiU32ToStr(pszResult, u32Value, 16)

/*---------------------  Export Classes  ----------------------------*/

/*---------------------  Export Variables  --------------------------*/

/*---------------------  Export Functions  --------------------------*/

/*int STR_iStrcmp(char *dst, char *src) ;
int STR_iStrcat(char *dst, char *src) ;*/
//int STR_iStrcpy(char *dst, char *src) ;
/*char *STRpszStrcat(char *dst, char *src) ;
char *STRpszStrcatchr(char *dst, char c) ;*/
//char *STR_pszStrcpy(char *dst, char *src) ;
//int STR_iStrlen(char *str) ;

void *STR_pvMemcpy(void *dst, void *src, UINT16 count) ;
void *STR_pvMemset(void *dst, char val, UINT16 count) ;
//int STRiMemcmp(void *dst, void *src, UINT16 count) ;

//BOOL STRbIsPrint(CHAR c) ;
/*BOOL STRbIsDigit(CHAR c) ;
BOOL STRbIsXDigit(CHAR c) ;

CHAR STRcToInt(CHAR c) ;
CHAR STRcToUpper(CHAR c) ;

int STRiU32ToStr(PSTR pszResult, UINT32 u32Value, INT iRadix) ;

*/
#ifdef __MODULE_WEB_SMART
//int STRiU32ToStrHexPad(PSTR pszResult, UINT32 u32Value, UINT8 byDigCnt) ;
UINT32 STR_u32StrDecToU32(char *str) ;
#endif




#endif /* __STR_H__ */

⌨️ 快捷键说明

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