From c209e57e502514e92e3d8fafcd07901f81305aa1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20Geisend=C3=B6rfer?= Date: Mon, 23 Aug 2010 10:26:19 +0200 Subject: [PATCH] Document WriteStream 'open' event --- doc/api.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/api.markdown b/doc/api.markdown index 8c0fd48..2434c3f 100644 --- a/doc/api.markdown +++ b/doc/api.markdown @@ -1607,6 +1607,12 @@ An example to read the last 10 bytes of a file which is 100 bytes long: `WriteStream` is a `Writable Stream`. +### Event: 'open' + +`function (fd) { }` + + `fd` is the file descriptor used by the WriteStream. + ### fs.createWriteStream(path, [options]) Returns a new WriteStream object (See `Writable Stream`). -- 2.7.4