commit | c58a13e511e9d5cf3d55495d082e96760766b22e | [log] [tgz] |
---|---|---|
author | Javier Almansa Sobrino <javier.almansasobrino@arm.com> | Fri Aug 21 17:32:03 2020 +0100 |
committer | Javier Almansa Sobrino <javier.almansasobrino@arm.com> | Wed Aug 26 10:27:47 2020 +0100 |
tree | 3af05675e8396fe4d610c6e7c39c274a815b4991 | |
parent | 0395aaa450cf65ce39bb3605e4aeb3b6f4ed9f7e [diff] |
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