]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - lib/libc/stdlib/_Exit.c
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / lib / libc / stdlib / _Exit.c
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 }