µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches

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.
 

Detailed Description

Definitions used to configure various library options.

Macro Definition Documentation

◆ OS_INCLUDE_ATEXIT_STATIC

#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.

◆ OS_INTEGER_ATEXIT_ARRAY_SIZE

#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.

◆ OS_INTEGER_DIRENT_NAME_MAX

#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.