1 | /*
|
---|
2 | ============================================================================
|
---|
3 | strings.h -- definitions for strnglib
|
---|
4 | Version 3 -- 1987-04-21 -- D.N. Lynx Crowe
|
---|
5 | ============================================================================
|
---|
6 | */
|
---|
7 |
|
---|
8 | extern int8_t *strccpy(int8_t *s1, int8_t *s2, int8_t c);
|
---|
9 | extern int8_t *strcpy(int8_t *s1, int8_t *s2);
|
---|
10 | extern int8_t *strncpy(int8_t *s1, int8_t *s2, int16_t n);
|
---|
11 | extern int8_t *strcat(int8_t *s1, int8_t *s2);
|
---|
12 | extern int8_t *strncat(int8_t *s1, int8_t *s2, int16_t n);
|
---|
13 | extern int8_t *strchr(int8_t *sp, int8_t c);
|
---|
14 | extern int8_t *strrchr(int8_t *sp, int8_t c);
|
---|
15 | extern int8_t *strpbrk(int8_t *string, int8_t *brkset);
|
---|
16 | extern int8_t *strtok(int8_t *string, int8_t *sepset);
|
---|
17 | extern int8_t *index(int8_t *str, int8_t c);
|
---|
18 | extern int8_t *rindex(int8_t *str, int8_t c);
|
---|
19 | extern int8_t *str2lc(int8_t *s);
|
---|
20 | extern int8_t *str2uc(int8_t *s);
|
---|
21 |
|
---|
22 | extern int16_t strcmp(int8_t *s1, int8_t *s2);
|
---|
23 | extern int16_t strlcmp(int8_t *s, int8_t *l[]);
|
---|
24 | extern int16_t strncmp(int8_t *s1, int8_t *s2, int16_t n);
|
---|
25 | extern int16_t strlen(int8_t *s);
|
---|
26 | extern int16_t strspn(int8_t *string, int8_t *charset);
|
---|
27 | extern int16_t strcspn(int8_t *string, int8_t *charset);
|
---|
28 |
|
---|
29 | extern int32_t strtol(int8_t *str, int8_t **ptr, int16_t base);
|
---|
30 |
|
---|
31 |
|
---|