about summary refs log tree commit diff homepage
path: root/runtime/klee-libc/atexit.c
blob: c71b2cd6734e2370a1285da0e1486beddd9ddc15 (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);
}