aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMarco Paland <marco@paland.com>2018-11-02 14:00:03 +0100
committerMarco Paland <marco@paland.com>2018-11-02 14:00:03 +0100
commit54dfd185432d300746a8586cd3e620d5eb178a5d (patch)
tree10720771a853e351438ea99c05ca6b1fe3195f95 /README.md
parentcc8f3bc050042270c661c0807d6555c242e0b244 (diff)
downloadprintf-54dfd185432d300746a8586cd3e620d5eb178a5d.tar.gz
printf-54dfd185432d300746a8586cd3e620d5eb178a5d.tar.bz2
printf-54dfd185432d300746a8586cd3e620d5eb178a5d.zip
feat(printf): added PRINTF_OVERRIDE_LIBC support
Fixes #16
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 95cd069..bc2c62d 100644
--- a/README.md
+++ b/README.md
@@ -160,6 +160,8 @@ int length = sprintf(NULL, "Hello, world"); // length is set to 12
| Name | Default value | Description |
|------|---------------|-------------|
+| PRINTF_INCLUDE_CONFIG_H | undefined | Define this as compiler switch (e.g. `gcc -DPRINTF_INCLUDE_CONFIG_H`) to include a "printf_config.h" definition file |
+| PRINTF_OVERRIDE_LIBC | undefined | Define this to override the LIBC function declarations by using `printf_()` instead of `printf()` directly |
| PRINTF_NTOA_BUFFER_SIZE | 32 | ntoa (integer) conversion buffer size. This must be big enough to hold one converted numeric number _including_ leading zeros, normally 32 is a sufficient value. Created on the stack |
| PRINTF_FTOA_BUFFER_SIZE | 32 | ftoa (float) conversion buffer size. This must be big enough to hold one converted float number _including_ leading zeros, normally 32 is a sufficient value. Created on the stack |
| PRINTF_SUPPORT_FLOAT | defined | Define this to enable floating point (%f) support |