Linux Audio

Check our new training course

Loading...
v3.1
1#include "misc.h"
 
 
 
 
 
 
 
 
 
2#include "../string.c"
v3.5.6
 1#include "misc.h"
 2
 3int memcmp(const void *s1, const void *s2, size_t len)
 4{
 5	u8 diff;
 6	asm("repe; cmpsb; setnz %0"
 7	    : "=qm" (diff), "+D" (s1), "+S" (s2), "+c" (len));
 8	return diff;
 9}
10
11#include "../string.c"