PebbleOS links against a standard C library chosen at build time. lib/c
connects it to the kernel: its locks are kernel mutexes, its heap is the
kernel’s, as it may not grow one of its own, and assert(), like the
assertions of the utilities, logs and stops the system. With
CONFIG_CONSOLE_STDOUT, printf() writes to the console.
Directory |
|
Kconfig |
C library choice, always built |
C library |
Kconfig |
|---|---|
Picolibc, the default: smallest, from the toolchain or |
|
Newlib, complete but largest |
|
Newlib nano, with a C99 |
|
The host’s, on native boards |
|
Generated from PebbleOS 12b6c531f. This page is maintained in the pebbleos repository: docs/libraries/c.md.