summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgcompat/stdio.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/libgcompat/stdio.c b/libgcompat/stdio.c
index 0ff5feb..d36a118 100644
--- a/libgcompat/stdio.c
+++ b/libgcompat/stdio.c
@@ -234,3 +234,16 @@ char *tmpnam_r(char *s)
return tmpnam(s);
}
+
+int
+__dprintf_chk (int d, int flags, const char *format, ...)
+{
+ va_list arg;
+ int done;
+
+ va_start (arg, format);
+ done = vdprintf (d, format, arg);
+ va_end (arg);
+
+ return done;
+}