blob: f65b8f6d413eb9e059303f66e6f837792d1e1e02 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* Public domain. */
#ifndef STR_H
#define STR_H
extern unsigned int str_copy(char *,const char *);
extern int str_diff(const char *,const char *);
extern int str_diffn(const char *,const char *,unsigned int);
extern unsigned int str_len(const char *);
extern unsigned int str_chr(const char *,int);
extern unsigned int str_rchr(const char *,int);
extern int str_start(const char *,const char *);
#define str_equal(s,t) (!str_diff((s),(t)))
#endif
|