Go to the source code of this file.
|
unsigned int | str_copy (char *, const char *) |
|
unsigned int | str_copyb (char *, const char *, unsigned int) |
|
int | str_diff (const char *, const char *) |
|
int | str_diffn (const char *, const char *, unsigned int) |
|
unsigned int | str_len (const char *) |
|
unsigned int | str_chr (const char *, int) |
|
unsigned int | str_rchr (const char *, int) |
|
int | str_start (const char *, const char *) |
|
char * | str_append (char *out, const char *s) |
|
◆ str_cat
Definition at line 23 of file str.h.
◆ str_equal
#define str_equal |
( |
|
s, |
|
|
|
t |
|
) |
| (!str_diff((s),(t))) |
Definition at line 22 of file str.h.
◆ str_append()
char * str_append |
( |
char * |
out, |
|
|
const char * |
s |
|
) |
| |
◆ str_chr()
unsigned int str_chr |
( |
const char * |
s, |
|
|
int |
c |
|
) |
| |
Definition at line 81 of file str.c.
◆ str_copy()
unsigned int str_copy |
( |
char * |
s, |
|
|
const char * |
t |
|
) |
| |
Definition at line 11 of file str.c.
◆ str_copyb()
unsigned int str_copyb |
( |
char * |
s, |
|
|
const char * |
t, |
|
|
unsigned int |
max |
|
) |
| |
Definition at line 24 of file str.c.
◆ str_diff()
int str_diff |
( |
const char * |
s, |
|
|
const char * |
t |
|
) |
| |
Definition at line 40 of file str.c.
◆ str_diffn()
int str_diffn |
( |
const char * |
s, |
|
|
const char * |
t, |
|
|
unsigned int |
len |
|
) |
| |
Definition at line 54 of file str.c.
◆ str_len()
unsigned int str_len |
( |
const char * |
s | ) |
|
Definition at line 68 of file str.c.
◆ str_rchr()
unsigned int str_rchr |
( |
const char * |
s, |
|
|
int |
c |
|
) |
| |
Definition at line 97 of file str.c.
◆ str_start()
int str_start |
( |
const char * |
s, |
|
|
const char * |
t |
|
) |
| |