NetBSD/lib/libc/stdlib/_Exit.c
bjh21 22ebd2b34b Add _Exit(), for C99 and POSIX-2001.
Proposed on tech-userlevel to a resounding silence in April last year.
2003-03-01 15:59:02 +00:00

22 lines
317 B
C

/* $NetBSD: _Exit.c,v 1.1 2003/03/01 15:59:03 bjh21 Exp $ */
/*
* Ben Harris, 2002
* This file is in the Public Domain
*/
#include <stdlib.h>
#include <unistd.h>
/*
* IEEE 1003.1-2001 says:
* The _Exit() and _exit() functions shall be functionally equivalent.
*/
void
_Exit(int status)
{
_exit(status);
}