summaryrefslogtreecommitdiff
path: root/src/libc_sprintf.c
diff options
context:
space:
mode:
authorKiritoDv <kiritodev01@gmail.com>2024-03-24 02:01:28 -0600
committerKiritoDv <kiritodev01@gmail.com>2024-04-06 04:32:13 -0600
commit641a43cbf9b4f4c4f545218e201fb58bbe15fcd7 (patch)
tree50ecef61c66e171580ef1a09c2d3a9fc32591768 /src/libc_sprintf.c
parent126a55aa0eadaf8b2ed8f370cbba63368be7a964 (diff)
First compilation, we just need more stupid assets
Diffstat (limited to 'src/libc_sprintf.c')
-rw-r--r--src/libc_sprintf.c46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/libc_sprintf.c b/src/libc_sprintf.c
index 0b2e506f..60af7d6e 100644
--- a/src/libc_sprintf.c
+++ b/src/libc_sprintf.c
@@ -6,26 +6,26 @@ void* proutSprintf(void* dst, const char* fmt, size_t size) {
return (void*) ((uintptr_t) memcpy(dst, fmt, size) + size);
}
-s32 vsprintf(char* dst, const char* fmt, va_list args) {
- s32 ret = _Printf((outfun*) proutSprintf, dst, fmt, args);
-
- if (ret > -1) {
- dst[ret] = 0;
- }
- return ret;
-}
-
-int sprintf(char* s, const char* fmt, ...) {
- s32 ret;
- va_list args;
- va_start(args, fmt);
-
- ret = _Printf((outfun*) proutSprintf, s, fmt, args);
-
- if (ret >= 0) {
- s[ret] = 0;
- }
- va_end(args);
-
- return ret;
-}
+// s32 vsprintf(char* dst, const char* fmt, va_list args) {
+// s32 ret = _Printf((outfun*) proutSprintf, dst, fmt, args);
+//
+// if (ret > -1) {
+// dst[ret] = 0;
+// }
+// return ret;
+// }
+//
+// int sprintf(char* s, const char* fmt, ...) {
+// s32 ret;
+// va_list args;
+// va_start(args, fmt);
+//
+// ret = _Printf((outfun*) proutSprintf, s, fmt, args);
+//
+// if (ret >= 0) {
+// s[ret] = 0;
+// }
+// va_end(args);
+//
+// return ret;
+// }