1 /* go-memclr.c -- clear a memory buffer
3 Copyright 2016 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. */
9 void memclr(void *, uintptr
)
10 __asm__ (GOSYM_PREFIX
"runtime.memclr");
13 memclr (void *p1
, uintptr len
)
15 __builtin_memset (p1
, 0, len
);