1 /* go-memcmp.c -- the go memory comparison function. 2 3 Copyright 2012 The Go Authors. All rights reserved. 4 Use of this source code is governed by a BSD-style 5 license that can be found in the LICENSE file. */ 6 7 #include "runtime.h" 8 9 intgo __go_memcmp(const void * p1,const void * p2,uintptr len)10__go_memcmp (const void *p1, const void *p2, uintptr len) 11 { 12 return __builtin_memcmp (p1, p2, len); 13 } 14