diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-02-08 20:15:15 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-02-08 20:15:15 +0000 |
commit | a22a39ea6fb2b786725d9ea2308e0d61c5a04d61 (patch) | |
tree | 6a2b978b8fb0f2d9a8fc8737fd0191226ac6e4c2 /regress/sys/kern | |
parent | ff5cbee4de5a472eeac943aa6765543a905bc084 (diff) |
Ok, I'm sick, but I just had to do this.
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(); +} |