1
0
Fork 0
Commit Graph

26 Commits (d40951182f051899acf66f11d55c526003b266c8)

Author SHA1 Message Date
Sebastian Goll d40951182f feat(printf): add user pointer to fctprintf()
Arbitrary user data can be passed to output function
7 years ago
Marco Paland 0116b74916 refactor(printf): changed oprintf() to fctprintf()
fctprintf() is more descriptive for its operation
7 years ago
Marco Paland 9351e5b1ac refactor(printf): use output function wrapping struct 7 years ago
Marco Paland 24c460b977 feat(printf): added new oprintf() function
Write formatted output directly to given output function
7 years ago
Marco Paland d12e52be4c fix(printf): pass dummy buffer for printf to _vsnprintf instead of NULL
Fixes #15
7 years ago
Marco Paland ee383ad5c7 fix(printf): use C conform `NULL` instead of C++ `nullptr`
Fixes #14
7 years ago
Marco Paland 277aa259fc fix(printf,test_suite): fix compiler warnings 7 years ago
Marco Paland bb5a8af507 feat(printf): added support for %h, %hh, %j and %t length modifiers
- Renamed compiler switches
- Minor cleanup
Closes #12
7 years ago
Marco Paland 824a9b35f9 fix(printf): use null output function for nullptr buffer
Improving #11
7 years ago
Marco Paland 33f10559d6 refactor(printf): usage of (buffer) output routine, fixes return value
Buffer for printf is no longer needed, chars are directly written now.
Return value is specification conform now.
Fixes #11
7 years ago
Marco Paland 814bbf6f47 fix(printf): move <stddef.h> to header
Fixes #13
7 years ago
Marco Paland 85dc7cf074 fix(printf): fixed floating point sign handling 7 years ago
Marco Paland 8db261eed6 chore(printf): update comments 7 years ago
Marco Paland cd4481a6f2 feat(printf): add vsnprintf function
fixes #5
7 years ago
Marco Paland 8c3713c4b6 refactor(printf): improved _strlen() function 7 years ago
Marco Paland d74ad73009 fix(printf): fix snprintf buffer termination
Fixes #7 (partly)
7 years ago
Marco Paland dd8432003c fix(printf): fixed conversion buffer handling
Added according test cases
7 years ago
Marco Paland b618f2c550 cleanup(printf): don't use fixed size for long type 7 years ago
Arvid Gerstmann 422b420b4d add support for size_t flag: %zd 7 years ago
Marco Paland c355eaa2b0 Fixed 64 bit pointer casting 8 years ago
Marco Paland cb7d11a542 Code cleanup 8 years ago
Marco Paland 9902170763 Return %p values in upper case, fixed %p 64 bit support 8 years ago
Marco Paland 2b3f3c1306 Removed ftoa NaN check
NaN check may not work with optimizing compilers. Use your implementation specific NaN check if necessary
8 years ago
Marco Paland c6c8d96420 Updated comments 8 years ago
Marco Paland 80dd57309a Code cleanup 8 years ago
Marco Paland 7936fc34c4 Changed printf.cpp to printf.c to be usable with 'C'-compilers
closes #1
8 years ago