diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2011-02-05 04:35:27 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2011-02-05 04:35:27 +0100 |
commit | 61ba39a23786a7ae9694705af1d146c00a319144 (patch) | |
tree | f9ad51bee751f7e878ac3e7ad4d45f993605c37d /os/src/sprintf.c | |
parent | e2d292afdb43cd7d9391128563384e1edd53c52e (diff) |
Getting rid of newlib, starting to implement a libc. Highly experimental, highly untested.
Diffstat (limited to 'os/src/sprintf.c')
-rw-r--r-- | os/src/sprintf.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/os/src/sprintf.c b/os/src/sprintf.c deleted file mode 100644 index 755d780..0000000 --- a/os/src/sprintf.c +++ /dev/null @@ -1,14 +0,0 @@ -#include <reent.h> -#include <stdio.h> -#include <stdarg.h> -#include <osdebug.h> - -int sprintf(char * str, const char * fmt, ...) { - int r; - va_list ap; -// DBGOUT("sprintf(%p, %p, ...)\r\n", str, fmt); - va_start(ap, fmt); - r = _vsprintf_r(_impure_ptr, str, fmt, ap); - va_end(ap); - return r; -} |