| 1 | #ifdef RCSID |
| 2 | static char RCSid[] = |
| 3 | "$Header: d:/cvsroot/tads/TADS2/osterm.c,v 1.2 1999/05/17 02:52:14 MJRoberts Exp $"; |
| 4 | #endif |
| 5 | |
| 6 | /* |
| 7 | * Copyright (c) 1999, 2002 Michael J. Roberts. All Rights Reserved. |
| 8 | * |
| 9 | * Please see the accompanying license file, LICENSE.TXT, for information |
| 10 | * on using and copying this software. |
| 11 | */ |
| 12 | /* |
| 13 | Name |
| 14 | osterm.c - simple os_term() implementation |
| 15 | Function |
| 16 | This os_term() implementation is used for some of the stand-alone |
| 17 | tools (such as TADSRSC), which aren't linked to a full set of OS |
| 18 | object files. |
| 19 | |
| 20 | Most platforms should be able to use this implementation (which |
| 21 | simply calls exit() in the standard C library) for linking with |
| 22 | TADSRSC and the other simple command-line tools. |
| 23 | Notes |
| 24 | |
| 25 | Modified |
| 26 | 01/23/99 MJRoberts - Creation |
| 27 | */ |
| 28 | |
| 29 | #include <stdlib.h> |
| 30 | |
| 31 | void os_term(int exit_code) |
| 32 | { |
| 33 | exit(exit_code); |
| 34 | } |
| 35 |