#include "misc.h" int memcmp(const void *s1, const void *s2, size_t len) { u8 diff; asm("repe; cmpsb; setnz %0" : "=qm" (diff), "+D" (s1), "+S" (s2), "+c" (len)); return diff; } #include "../string.c"
您还没有登录,登录后您可以:
首次使用?从这里 注册