aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/library.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js
index 7775c792..467b1dcc 100644
--- a/src/library.js
+++ b/src/library.js
@@ -248,6 +248,11 @@ var Library = {
return i; // Actually, should return how many *would* have been written, if the |num| had not stopped us.
},
+ vfprintf__deps: ['_formatString'],
+ vfprintf: function(stream, format, args) {
+ __print__(Pointer_stringify(__formatString(-format, args)));
+ },
+
fileno: function(file) {
return 1; // TODO
},