summaryrefslogtreecommitdiff
path: root/doc/node.1
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2009-09-15 22:32:37 +0200
committerRyan Dahl <ry@tinyclouds.org>2009-09-15 22:32:37 +0200
commit16185ae57e11024ba0d35586eb0550e14782bd2b (patch)
tree33f72633d7563d057730d2ca721652d4ee6db859 /doc/node.1
parent083d150bc47bc7aadc5e8537e03c3df4c2056e09 (diff)
downloadandroid-node-v8-16185ae57e11024ba0d35586eb0550e14782bd2b.tar.gz
android-node-v8-16185ae57e11024ba0d35586eb0550e14782bd2b.tar.bz2
android-node-v8-16185ae57e11024ba0d35586eb0550e14782bd2b.zip
update doc for node.fs.write()
Diffstat (limited to 'doc/node.1')
-rw-r--r--doc/node.14
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/node.1 b/doc/node.1
index b9d465f689..c010440622 100644
--- a/doc/node.1
+++ b/doc/node.1
@@ -739,12 +739,10 @@ is given as the parameter\.
.RE
.RE
.PP
-node\.fs\.write(fd, data, position)
+node\.fs\.write(fd, data, position, encoding)
.RS 4
Write data to the file specified by
fd\.
-data
-is either an array of integers (for raw data) or a string for UTF\-8 encoded characters\.
position
refers to the offset from the beginning of the file where this data should be written\. If
position