Rev 990 | Rev 7503 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 990 | Rev 7495 | ||
---|---|---|---|
Line 233... | Line 233... | ||
233 | Str[j] = 0; |
233 | Str[j] = 0; |
234 | } |
234 | } |
235 | 235 | ||
236 | void *memcpy(void *dst, const void *src, unsigned size) |
236 | void *memcpy2(void *dst, const void *src, unsigned size) |
Line 237... | Line 237... | ||
237 | { |
237 | { |
238 | while (size--) |
238 | while (size--) |
239 | *((char*)dst+size) = *((char*)src+size); |
239 | *((char*)dst+size) = *((char*)src+size); |
240 | return dst; |
240 | return dst; |
241 | } |
241 | } |
242 | */ |
242 | */ |
243 | int strcmp(const char *s1, const char *s2) |
243 | |
- | 244 | ||
- | 245 | ||
- | 246 | int strcmp(const char *s1, const char *s2) |
|
244 | { |
247 | { |
245 | int i; |
248 | int i; |
246 | 249 | ||
Line 247... | Line 250... | ||
247 | if (s1 == NULL) |
250 | if (s1 == NULL) |