Changeset 7258c6a in buchla-68k for iolib/printf.c
- Timestamp:
- 07/09/2017 04:45:34 PM (7 years ago)
- Branches:
- master
- Children:
- 8618599
- Parents:
- 0292fbb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
iolib/printf.c
r0292fbb r7258c6a 17 17 #include "stdarg.h" 18 18 19 extern long dofmt_(int (*putsub)(), char*format, va_list args);19 extern int32_t dofmt_(int16_t (*putsub)(), int8_t *format, va_list args); 20 20 21 static int fpsub(int c);21 static int16_t fpsub(int16_t c); 22 22 23 23 /* … … 27 27 */ 28 28 29 long printf(char*fmt, ...)29 int32_t printf(int8_t *fmt, ...) 30 30 { 31 register longcount;31 register int32_t count; 32 32 va_list aptr; 33 33 … … 44 44 */ 45 45 46 static int fpsub(int c)46 static int16_t fpsub(int16_t c) 47 47 { 48 48 /* KLUDGE: since we aren't Unix(tm) we prepend a CR to LF's */
Note:
See TracChangeset
for help on using the changeset viewer.