aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMarco Paland <marco@paland.com>2018-05-15 12:14:51 +0200
committerMarco Paland <marco@paland.com>2018-05-15 12:14:51 +0200
commit24c460b977c014076821a36b2dae574893cebb85 (patch)
tree9308d0871a9dbf727392ac1bf2390c1e1906c3ac /README.md
parentd12e52be4c207bb3b8a35f512b2cddf8deb3ceaf (diff)
downloadprintf-24c460b977c014076821a36b2dae574893cebb85.tar.gz
printf-24c460b977c014076821a36b2dae574893cebb85.tar.bz2
printf-24c460b977c014076821a36b2dae574893cebb85.zip
feat(printf): added new oprintf() function
Write formatted output directly to given output function
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 2c16afd..6583269 100644
--- a/README.md
+++ b/README.md
@@ -50,6 +50,9 @@ int printf(const char* format, ...);
int sprintf(char* buffer, const char* format, ...);
int snprintf(char* buffer, size_t count, const char* format, ...);
int vsnprintf(char* buffer, size_t count, const char* format, va_list va);
+
+// write to output function (instead of buffer)
+int oprintf(void (*out)(char character), const char* format, ...);
```