xref: /netbsd/common/lib/libc/string/bzero2.c (revision 8daf714e)
1*8daf714eSmatt /*-
2*8daf714eSmatt  * Copyright (c) 2009 The NetBSD Foundation, Inc.
3*8daf714eSmatt  * All rights reserved.
4*8daf714eSmatt  *
5*8daf714eSmatt  * This code is derived from software contributed to The NetBSD Foundation
6*8daf714eSmatt  * by Matt Thomas <matt@3am-software.com>.
7*8daf714eSmatt  *
8*8daf714eSmatt  * Redistribution and use in source and binary forms, with or without
9*8daf714eSmatt  * modification, are permitted provided that the following conditions
10*8daf714eSmatt  * are met:
11*8daf714eSmatt  * 1. Redistributions of source code must retain the above copyright
12*8daf714eSmatt  *    notice, this list of conditions and the following disclaimer.
13*8daf714eSmatt  * 2. Redistributions in binary form must reproduce the above copyright
14*8daf714eSmatt  *    notice, this list of conditions and the following disclaimer in the
15*8daf714eSmatt  *    documentation and/or other materials provided with the distribution.
16*8daf714eSmatt  *
17*8daf714eSmatt  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
18*8daf714eSmatt  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
19*8daf714eSmatt  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
20*8daf714eSmatt  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
21*8daf714eSmatt  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22*8daf714eSmatt  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23*8daf714eSmatt  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24*8daf714eSmatt  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25*8daf714eSmatt  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26*8daf714eSmatt  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27*8daf714eSmatt  * POSSIBILITY OF SUCH DAMAGE.
28*8daf714eSmatt  */
29*8daf714eSmatt 
30*8daf714eSmatt #define	BZERO
31*8daf714eSmatt 
32*8daf714eSmatt #include "memset2.c"
33*8daf714eSmatt 
34*8daf714eSmatt #if defined(LIBC_SCCS) && !defined(lint)
35*8daf714eSmatt __RCSID("$NetBSD: bzero2.c,v 1.2 2009/12/14 00:39:01 matt Exp $");
36*8daf714eSmatt #endif /* LIBC_SCCS and not lint */
37