eCosTM Reference Manual
Prev | Chapter 16. Package: Infrastructure | Next

# Option: Smaller slower memset()

#### Macro name

CYGIMP_INFRA_PREFER_SMALL_TO_FAST_MEMSET

#### Type

Boolean

#### Description

Enabling this option causes the implementation of the standard memset() routine to reduce code size at the expense of execution speed. This option is automatically enabled with the use of the -Os option to the compiler. Also note that the compiler will try to use its own builtin version of memset() if possible, ignoring the implementation in this package, unless given the -fno-builtin compiler option.

Prev | Home | Next
Option: Smaller slower memcpy() | Up | Package: eCos kernel