summaryrefslogtreecommitdiff
path: root/klibc/include/stdio.h
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-12-14 11:42:06 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:13:48 -0700
commit027263f0056e7cbd43c0860ba5dcafd9e4cac916 (patch)
tree263cde65f32acbc82cd616751f758fbd6417cc10 /klibc/include/stdio.h
parentbc0410fdb64e295ae74d990185fa0bbc883e5432 (diff)
[PATCH] update klibc to 0.194
Diffstat (limited to 'klibc/include/stdio.h')
-rw-r--r--klibc/include/stdio.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/klibc/include/stdio.h b/klibc/include/stdio.h
index e00fac4d5e..d30622cfb2 100644
--- a/klibc/include/stdio.h
+++ b/klibc/include/stdio.h
@@ -90,7 +90,7 @@ fread(void *__p, size_t __s, size_t __n, FILE *__f)
}
extern __inline__ size_t
-fwrite(void *__p, size_t __s, size_t __n, FILE *__f)
+fwrite(const void *__p, size_t __s, size_t __n, FILE *__f)
{
return _fwrite(__p, __s*__n, __f)/__s;
}
@@ -104,6 +104,8 @@ __extern int sprintf(char *, const char *, ...);
__extern int vsprintf(char *, const char *, va_list);
__extern int snprintf(char *, size_t n, const char *, ...);
__extern int vsnprintf(char *, size_t n, const char *, va_list);
+__extern int asprintf(char **, const char *, ...);
+__extern int vasprintf(char **, const char *, va_list);
/* No buffering, so no flushing needed */
extern __inline__ int