与上位机测试通过
This commit is contained in:
@@ -77,4 +77,3 @@ void debug_log(const char *file,const char *fun,int line,int level,const char *f
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -250,9 +250,8 @@ static inline int str_is_empty_char(char c)
|
||||
* 判断字符串是否是可打印,是返回1,不是返回0
|
||||
*
|
||||
*/
|
||||
int str_is_print_str(const char *str)
|
||||
int str_is_print_str(const char *str,int len)
|
||||
{
|
||||
int len=str_len(str);
|
||||
for(int i=0;i<len;i++)
|
||||
{
|
||||
// 既不是空白字符也不是可打印字符
|
||||
|
@@ -20,7 +20,7 @@ list_def *str_split(const char *s,char c);/*temp_ptr*/
|
||||
list_def *str_atod_list(const char *s, char c);/*temp_ptr*/
|
||||
char *str_simplified(const char *str);/*temp_ptr*/
|
||||
char *str_duplicate(char *p);
|
||||
int str_is_print_str(const char *str);
|
||||
int str_is_print_str(const char *str,int len);
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user