diff options
Diffstat (limited to 'regress/sys/kern')
-rw-r--r-- | regress/sys/kern/exit/Makefile | 5 | ||||
-rw-r--r-- | regress/sys/kern/exit/exit.c | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/regress/sys/kern/exit/Makefile b/regress/sys/kern/exit/Makefile new file mode 100644 index 00000000000..182706bc05e --- /dev/null +++ b/regress/sys/kern/exit/Makefile @@ -0,0 +1,5 @@ +# $OpenBSD: Makefile,v 1.1 2002/02/08 20:15:14 art Exp $ + +PROG= exit + +.include <bsd.regress.mk> diff --git a/regress/sys/kern/exit/exit.c b/regress/sys/kern/exit/exit.c new file mode 100644 index 00000000000..996ad1cf75c --- /dev/null +++ b/regress/sys/kern/exit/exit.c @@ -0,0 +1,12 @@ +/* $OpenBSD: exit.c,v 1.1 2002/02/08 20:15:14 art Exp $ */ +/* + * Written by Artur Grabowski <art@openbsd.org> 2002 Public Domain. + */ +#include <stdlib.h> + +int +main() +{ + _exit(0); + abort(); +} |