Definitions used to configure various library options. More...
#define | OS_INCLUDE_ATEXIT_STATIC |
Use a very lite atexit(). | |
#define | OS_INTEGER_ATEXIT_ARRAY_SIZE (3) |
Define the size of the atexit() array. | |
#define | OS_INTEGER_DIRENT_NAME_MAX (256) |
Define the maximum size of a directory name. | |
Definitions used to configure various library options.
#define OS_INCLUDE_ATEXIT_STATIC |
Use a very lite atexit().
The standard atexit()
maintains a generic registry to keep track of the actions to be performed at exit. As storage, this uses an initial static buffer plus a series of dynamically allocated blocks. For very tight configurations this might be problematic, and a lite, always static version is provided. Please note that this version supports only simple actions registered via atexit(); more general cxa or dso handles are not supported, and when exception are enabled, this options is ignored. The size of the static array is configured via OS_INTEGER_ATEXIT_ARRAY_SIZE
.
Definition at line 609 of file os-app-config.h.
#define OS_INTEGER_ATEXIT_ARRAY_SIZE (3) |
Define the size of the atexit()
array.
To simplify the implementation and avoid dynamic allocations, a static array is used. This option defines the size of this array.
Definition at line 618 of file os-app-config.h.
#define OS_INTEGER_DIRENT_NAME_MAX (256) |
Define the maximum size of a directory name.
Definition at line 623 of file os-app-config.h.