summaryrefslogtreecommitdiff
path: root/com32/lib/atexit.c
blob: 078dd8b2117ef58ffa271cd1f27d121bf842ee9a (plain)
1
2
3
4
5
6
7
8
9
10
/*
 * atexit.c
 */

#include <stdlib.h>

int atexit(void (*fctn)(void))
{
  return on_exit((void (*)(int, void *))fctn, NULL);
}