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