xref: /freebsd/lib/libc/stdlib/_Exit.c (revision 640235e2c2ba32947f7c59d168437ffa1280f1e6)
1 /*
2  * This file is in the public domain.  Written by Garrett A. Wollman,
3  * 2002-09-07.
4  *
5  * $FreeBSD$
6  */
7 
8 #include <stdlib.h>
9 #include <unistd.h>
10 
11 /*
12  * ISO C99 added this function to provide for Standard C applications
13  * which needed something like POSIX _exit().  A new interface was created
14  * in case it turned out that _exit() was insufficient to meet the
15  * requirements of ISO C.  (That's probably not the case, but here
16  * is where you would put the extra code if it were.)
17  */
18 void
19 _Exit(int code)
20 {
21 	_exit(code);
22 }
23