1 Star 0 Fork 1

sam/libraries

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
StduinoStringFuction.h 1.68 KB
一键复制 编辑 原始数据 按行查看 历史
sam 提交于 2020-07-02 17:49 +08:00 . 1.03
/***************************************************************
*Copyright(c) 2020思特诺(Stduino)All right reserved.
*
*This library is open source and free for individual users.
*
*For commercial use, please contact service001@stduino.com.
***************************************************************/
#ifndef StduinoStringFuction_h
#define StduinoStringFuction_h
#ifdef __cplusplus
extern "C" {
#endif
#include "StduinoMath.h"
#include "StduinoMemory.h"
#define HEX (16)
#define DEC (10)
#define OCT (8)
#define BIN (2)
char *dtostrf(float val, signed char width, unsigned char prec, char *sout);
int _strlen(const char *s);
char *_strcpy(char *dest, const char *src);
int _strcmp(const char *str1, const char *str2);
int _strncmp(const char *str1, const char *str2, unsigned int n);
char *_strncpy(char *dest, const char *src, unsigned int n);
const char *_strchr(const char *str, char c);
char* _strstr(char* src, const char* sub);
char *_strrchr(const char * str,int ch);
int _tolower (int c);
int _toupper(int c);
int _isspace(char c);
long _atol(char *s);
double _atof(const char *str);
char *_utoa (unsigned int val, char *sout, int radix);
char *_ltoa (long val, char *sout, int radix);
char *_itoa (int val, char *sout, int radix);
char *_ultoa (unsigned long val, char *sout, int radix);
#ifdef __cplusplus
}
#endif
#endif
/***************************************************************
*Copyright(c) 2020思特诺(Stduino)All right reserved.
*
*This library is open source and free for individual users.
*
*For commercial use, please contact service001@stduino.com.
***************************************************************/
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/stduino/libraries.git
git@gitee.com:stduino/libraries.git
stduino
libraries
libraries
master

搜索帮助