diff options
author | Alon Zakai <azakai@mozilla.com> | 2011-02-21 18:46:19 -0800 |
---|---|---|
committer | Alon Zakai <azakai@mozilla.com> | 2011-02-21 18:46:19 -0800 |
commit | cb0b00ff98ba99dd9661de4de89f3225caed766c (patch) | |
tree | d57d7b60c85c9e03a4d972d67ab574b673022cb7 /src | |
parent | acbb1e6a0b49facc66e14891556e0859f9609868 (diff) |
vfprintf
Diffstat (limited to 'src')
-rw-r--r-- | src/library.js | 5 |
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 }, |