]> git.saurik.com Git - apple/libc.git/blob - stdlib/FreeBSD/_Exit_.c
Libc-763.13.tar.gz
[apple/libc.git] / stdlib / FreeBSD / _Exit_.c
1 /*
2 * This file is in the public domain. Written by Garrett A. Wollman,
3 * 2002-09-07.
4 *
5 * $FreeBSD: src/lib/libc/stdlib/_Exit.c,v 1.1 2002/09/10 02:04:49 wollman Exp $
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 }