aboutsummaryrefslogtreecommitdiffstats
path: root/io/wrap/fputc.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/wrap/fputc.c')
-rw-r--r--io/wrap/fputc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/io/wrap/fputc.c b/io/wrap/fputc.c
new file mode 100644
index 0000000..5075f5b
--- /dev/null
+++ b/io/wrap/fputc.c
@@ -0,0 +1,7 @@
+#define NO_OPAQUE_TYPE
+#include "io.h"
+
+int _fputc_wrap(int character, FILE *stream)
+{
+ return fputc(character, stream);
+}