aboutsummaryrefslogtreecommitdiff
path: root/libc/inc/print.h
diff options
context:
space:
mode:
authorMarvin Borner2021-02-11 23:05:17 +0100
committerMarvin Borner2021-02-11 23:05:17 +0100
commit2efcd435b415defb893385b01c80947bacb97aec (patch)
tree321216463326d30845891b60e16441d1f58bfa66 /libc/inc/print.h
parenta53315d23c6ec69464a727ada0f4a442786f0918 (diff)
Added sprintf
Diffstat (limited to 'libc/inc/print.h')
-rw-r--r--libc/inc/print.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/inc/print.h b/libc/inc/print.h
index 575cc5f..3e11db7 100644
--- a/libc/inc/print.h
+++ b/libc/inc/print.h
@@ -8,6 +8,7 @@
int printf(const char *format, ...);
int vprintf(const char *format, va_list ap);
+int sprintf(char *str, const char *format, ...);
int vsprintf(char *str, const char *format, va_list ap);
int print(const char *str);