xref: /openbsd-src/regress/lib/libc/sys/t_vfork.c (revision c32913b7357c98230ac844dab8ec25c0bbb61cea)
1*c32913b7Smbuhl /*	$OpenBSD: t_vfork.c,v 1.1 2021/09/02 15:28:41 mbuhl Exp $	*/
2*c32913b7Smbuhl /*	$NetBSD: t_vfork.c,v 1.1 2018/05/18 06:39:58 kamil Exp $	*/
3*c32913b7Smbuhl 
4*c32913b7Smbuhl /*-
5*c32913b7Smbuhl  * Copyright (c) 2018 The NetBSD Foundation, Inc.
6*c32913b7Smbuhl  * All rights reserved.
7*c32913b7Smbuhl  *
8*c32913b7Smbuhl  * Redistribution and use in source and binary forms, with or without
9*c32913b7Smbuhl  * modification, are permitted provided that the following conditions
10*c32913b7Smbuhl  * are met:
11*c32913b7Smbuhl  * 1. Redistributions of source code must retain the above copyright
12*c32913b7Smbuhl  *    notice, this list of conditions and the following disclaimer.
13*c32913b7Smbuhl  * 2. Redistributions in binary form must reproduce the above copyright
14*c32913b7Smbuhl  *    notice, this list of conditions and the following disclaimer in the
15*c32913b7Smbuhl  *    documentation and/or other materials provided with the distribution.
16*c32913b7Smbuhl  *
17*c32913b7Smbuhl  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
18*c32913b7Smbuhl  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
19*c32913b7Smbuhl  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
20*c32913b7Smbuhl  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
21*c32913b7Smbuhl  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22*c32913b7Smbuhl  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23*c32913b7Smbuhl  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24*c32913b7Smbuhl  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25*c32913b7Smbuhl  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26*c32913b7Smbuhl  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27*c32913b7Smbuhl  * POSSIBILITY OF SUCH DAMAGE.
28*c32913b7Smbuhl  */
29*c32913b7Smbuhl 
30*c32913b7Smbuhl #define VFORK
31*c32913b7Smbuhl #include "t_fork.c"
32