µOS++ IIIe Reference
7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
atexit.h
Go to the documentation of this file.
1
/*
2
* This file is part of the µOS++ project (https://micro-os-plus.github.io/).
3
* Copyright (c) 2016-2025 Liviu Ionescu. All rights reserved.
4
*
5
* Permission to use, copy, modify, and/or distribute this software
6
* for any purpose is hereby granted, under the terms of the MIT license.
7
*
8
* If a copy of the license was not distributed with this file, it can
9
* be obtained from https://opensource.org/licenses/mit.
10
*/
11
12
#if defined(__ARM_EABI__)
13
14
// ----------------------------------------------------------------------------
15
16
#if !defined(_LITE_EXIT)
17
#define _LITE_EXIT
18
#endif
19
20
/*
21
* Common definitions for atexit-like routines
22
*/
23
24
#if defined(__cplusplus)
25
extern
"C"
26
{
27
#endif
28
29
enum
__atexit_types
30
{
31
__et_atexit
,
//
32
__et_onexit
,
//
33
__et_cxa
34
};
35
36
extern
void
37
__call_exitprocs
(
int
,
void
*);
38
39
typedef
void (*
exit_func_t
) (void);
40
41
extern
int
42
__register_exitproc
(
int
,
exit_func_t
fn,
void
*,
void
*);
43
44
extern
void
45
os_run_fini_array
(
void
);
46
47
#if defined(__cplusplus)
48
}
49
#endif
50
51
// ----------------------------------------------------------------------------
52
53
#endif
/* defined(__ARM_EABI__) */
exit_func_t
void(* exit_func_t)(void)
Definition
atexit.h:39
__call_exitprocs
void __call_exitprocs(int, void *)
os_run_fini_array
void os_run_fini_array(void)
Definition
startup.cpp:187
__atexit_types
__atexit_types
Definition
atexit.h:30
__et_onexit
@ __et_onexit
Definition
atexit.h:32
__et_atexit
@ __et_atexit
Definition
atexit.h:31
__et_cxa
@ __et_cxa
Definition
atexit.h:33
__register_exitproc
int __register_exitproc(int, exit_func_t fn, void *, void *)
src
libc
stdlib
atexit.h
Generated by
1.9.7