CYGPKG_LIBC_STRING
Dummy
Options associated with the standard string functions
CYGIMP_LIBC_STRING_INLINES
Boolean
This option chooses whether some of the particularly simple string functions from <string.h> are available as inline functions. This may improve performance, and as the functions are small, may even improve code size.
CYGPKG_LIBC_STRING_OPTIMIZATIONS
Dummy
This component lets you choose between different implementations of the string functions with different tradeoffs. Most of the string functions can be implemented in two ways. One approach is geared towards smaller code size, while the other tries to improve execution speed at the expense of code size.
CYGIMP_LIBC_STRING_PREFER_FAST
Radio
This option improves string function execution speed at the expense of code size. This option is overridden if the code is compiled with the -Os option to the compiler.
CYGIMP_LIBC_STRING_PREFER_SMALL
Radio
This option tries to reduce string function code size at the expense of execution speed. The same effect can be produced if the code is compiled with the -Os option to the compiler.
CYGPKG_LIBC_STRING_STRTOK
Dummy
These options control the behavior of the strtok() and strtok_r() string tokenization functions.
CYGSEM_LIBC_PER_THREAD_STRTOK
Boolean
This option controls whether the string function strtok() has its state recorded on a per-thread basis rather than global. If this option is disabled, some per-thread space can be saved. Note there is also a POSIX-standard strtok_r() function to achieve a similar effect with user support. Enabling this option will use one slot of kernel per-thread data. You should ensure you have enough slots configured for all your per-thread data.
CYGNUM_LIBC_STRTOK_TRACE_LEVEL
Count
Trace verbosity level for debugging the <string.h> functions strtok() and strtok_r(). Increase this value to get additional trace output.