summaryrefslogtreecommitdiff
path: root/src/libc/include/stdio.h
diff options
context:
space:
mode:
authordzwdz2024-05-05 14:58:44 +0200
committerdzwdz2024-05-05 14:58:58 +0200
commitcb518ecd55cd7a45d0368fb9d68a1981c6c91adf (patch)
treec25ecffeeaf4f1f7d33b4ced91515d43a79c2dd5 /src/libc/include/stdio.h
parent80839982e9983c6ccadbf57a44e60eeb0e535421 (diff)
libc: implement asprintf
Diffstat (limited to 'src/libc/include/stdio.h')
-rw-r--r--src/libc/include/stdio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libc/include/stdio.h b/src/libc/include/stdio.h
index b582e8f..159bdca 100644
--- a/src/libc/include/stdio.h
+++ b/src/libc/include/stdio.h
@@ -28,10 +28,12 @@ int printf(const char *restrict fmt, ...);
int fprintf(FILE *restrict f, const char *restrict fmt, ...);
int sprintf(char *restrict s, const char *restrict fmt, ...);
+int asprintf(char **restrict sp, const char *restrict fmt, ...);
int snprintf(char *restrict str, size_t len, const char *restrict fmt, ...);
int vprintf(const char *restrict fmt, va_list ap);
int vsprintf(char *restrict s, const char *restrict fmt, va_list ap);
+int vasprintf(char **restrict sp, const char *restrict fmt, va_list ap);
int vfprintf(FILE *restrict f, const char *restrict fmt, va_list ap);
int _klogf(const char *fmt, ...); // for kernel debugging only