Changeset c0535f80 in mainline
- Timestamp:
- 2006-05-14T08:17:10Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 57ff9ab
- Parents:
- 672a24d
- Location:
- libc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libc/generic/string.c
r672a24d rc0535f80 67 67 } 68 68 69 int strcmp(const char *a,const char *b) 70 { 71 int c=0; 72 73 while(a[c]&&b[c]&&(!(a[c]-b[c]))) c++; 74 75 return a[c]-b[c]; 76 77 } 78 79 80 69 81 /** Return pointer to the first occurence of character c in string 70 82 * @param str scanned string -
libc/include/string.h
r672a24d rc0535f80 38 38 void * memcpy(void *dest, void *src, size_t n); 39 39 40 int strcmp(const char *, const char *); 41 40 42 size_t strlen(const char *str); 41 43
Note:
See TracChangeset
for help on using the changeset viewer.