Last change
on this file since cbe2c15 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Imported original source code.
|
-
Property mode
set to
100755
|
File size:
551 bytes
|
Rev | Line | |
---|
[3ae31e9] | 1 | string.c -- some common string routines all rolled into one package
|
---|
| 2 |
|
---|
| 3 | char *strcpy(dest, src)
|
---|
| 4 | register char *dest, *src;
|
---|
| 5 |
|
---|
| 6 | char *strncpy(dest, src, len)
|
---|
| 7 | register char *dest, *src;
|
---|
| 8 |
|
---|
| 9 | char *strcat(dest, src)
|
---|
| 10 | register char *dest, *src;
|
---|
| 11 |
|
---|
| 12 | char *strncat(dest, src, len)
|
---|
| 13 | register char *dest, *src;
|
---|
| 14 |
|
---|
| 15 | strcmp(a, b)
|
---|
| 16 | register char *a, *b;
|
---|
| 17 |
|
---|
| 18 | strncmp(a, b, len)
|
---|
| 19 | register char *a, *b;
|
---|
| 20 |
|
---|
| 21 | strlen(str)
|
---|
| 22 | register char *str;
|
---|
| 23 |
|
---|
| 24 | char *index(str, c)
|
---|
| 25 | register char *str; register int c;
|
---|
| 26 |
|
---|
| 27 | char *rindex(str, c)
|
---|
| 28 | register char *str; int c;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.