int memcmp(const void *, const void *, size_t) -- compare two chunks. */
(buf1, buf2, len)
| 88 | /* int memcmp(const void *, const void *, size_t) -- compare two chunks. |
| 89 | */ |
| 90 | int |
| 91 | memcmp(buf1, buf2, len) |
| 92 | REG const char *buf1; |
| 93 | REG const char *buf2; |
| 94 | REG int len; |
| 95 | { |
| 96 | while (--len >= 0) |
| 97 | if (*buf1++ != *buf2++) |
| 98 | return (*--buf1 - *--buf2); |
| 99 | return 0; /* buffers matched */ |
| 100 | } |
| 101 | #endif /*!SUPPRESS_MEM_FUNCS*/ |
| 102 | |
| 103 | #ifndef SUPPRESS_ATEXIT |
no outgoing calls
no test coverage detected