mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-15 09:20:52 +08:00
9697f95b8f
This reverts commit 15d999759e
.
15 lines
384 B
C
15 lines
384 B
C
#ifndef STR_H
|
|
#define STR_H
|
|
|
|
extern unsigned int str_copy(char *,char *);
|
|
extern int str_diff(char *,char *);
|
|
extern int str_diffn(char *,char *,unsigned int);
|
|
extern unsigned int str_len(char *);
|
|
extern unsigned int str_chr(char *,int);
|
|
extern unsigned int str_rchr(char *,int);
|
|
extern int str_start(char *,char *);
|
|
|
|
#define str_equal(s,t) (!str_diff((s),(t)))
|
|
|
|
#endif
|