-
Notifications
You must be signed in to change notification settings - Fork 0
/
5-b12.h
25 lines (21 loc) · 1.04 KB
/
5-b12.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* -----------------------------------------
本文件不需要提交、不允许改动
----------------------------------------- */
#pragma once
/* 此处给出了一组字符串处理函数的原型声明 */
int tj_strlen (const char str[]);
int tj_strcat (char s1[], const char s2[]);
int tj_strncat (char s1[], const char s2[], const int len);
int tj_strcpy (char s1[], const char s2[]);
int tj_strncpy (char s1[], const char s2[], const int len);
int tj_strcmp (const char s1[], const char s2[]);
int tj_strcasecmp (const char s1[], const char s2[]);
int tj_strncmp (const char s1[], const char s2[], const int len);
int tj_strcasencmp(const char s1[], const char s2[], const int len);
int tj_strupr (char str[]);
int tj_strlwr (char str[]);
int tj_strchr (const char str[], const char ch);
int tj_strstr (const char str[], const char substr[]);
int tj_strrchr (const char str[], const char ch);
int tj_strrstr (const char str[], const char substr[]);
int tj_strrev (char str[]);