| 1 |
/* |
| 2 |
* Portions of this file are copyrighted by: |
| 3 |
* Copyright Copyright 2003 Sun Microsystems, Inc. All rights reserved. |
| 4 |
* Use is subject to license terms specified in the COPYING file |
| 5 |
* distributed with the Net-SNMP package. |
| 6 |
*/ |
| 7 |
|
| 8 |
#include <net-snmp/net-snmp-config.h> |
| 9 |
|
| 10 |
#ifdef HAVE_STDLIB_H |
| 11 |
#include <stdlib.h> |
| 12 |
#endif |
| 13 |
|
| 14 |
#include <net-snmp/library/snmp_logging.h> |
| 15 |
|
| 16 |
#include "Exit.h" |
| 17 |
|
| 18 |
void |
| 19 |
Exit(int var) |
| 20 |
{ |
| 21 |
snmp_log(LOG_ERR, "Server Exiting with code %d\n", var); |
| 22 |
exit(var); |
| 23 |
} |