Home
last modified time | relevance | path

Searched hist:"524 eecc6a2a279d685755d5b39557ebcd78bb2cf" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/lib/libc/
H A Dsnprintf.c524eecc6a2a279d685755d5b39557ebcd78bb2cf Fri Aug 21 16:32:03 UTC 2020 Javier Almansa Sobrino <javier.almansasobrino@arm.com> Add support for hexadecimal and pointer format specifiers to snprintf()

The current implementation of snprintf() does not support pointer and
hexadecimal format specifiers, which can be needed, for instance, for
DTB manipulations.

This patch adds that functionality by borrowing some code from the
printf() implementation.

Signed-off-by: Javier Almansa Sobrino <javier.almansasobrino@arm.com>
Change-Id: I2076ea46693a73a04890982bf20e3c633c2767fb