diff options
author | Marco Paland <marco@paland.com> | 2018-05-15 12:14:51 +0200 |
---|---|---|
committer | Marco Paland <marco@paland.com> | 2018-05-15 12:14:51 +0200 |
commit | 24c460b977c014076821a36b2dae574893cebb85 (patch) | |
tree | 9308d0871a9dbf727392ac1bf2390c1e1906c3ac /README.md | |
parent | d12e52be4c207bb3b8a35f512b2cddf8deb3ceaf (diff) | |
download | printf-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.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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, ...);
```
|