~aleteoryx/muditaos

ref: 660c2211e21f7581fec7b803233436c98e620836 muditaos/module-bsp/board/rt1051/os/atexit.h -rw-r--r-- 334 bytes
660c2211 — Marcin Zieliński [MOS-23] Back button works as save button in Notes 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

enum __atexit_types
{
    __et_atexit,
    __et_onexit,
    __et_cxa
};

#define MALLOC_PROVIDED

void __call_exitprocs(int, void *);
int __register_exitproc(int, void (*fn)(void), void *, void *);