about summary refs log tree commit diff homepage
path: root/runtime/klee-libc/atexit.c
blob: 7b3b53b5015a3ab90809428cc88b6c5bccf68151 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*==-- atexit.c ----------------------------------------------------------===//
//
//                     The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===*/

int __cxa_atexit(void (*fn)(void*),
                 void *arg,
                 void *dso_handle);

int atexit(void (*fn)(void)) {
  return __cxa_atexit((void(*)(void*)) fn, 0, 0);
}