From ae49de1063a1b6023999549e22831b3ca83a1bd3 Mon Sep 17 00:00:00 2001 From: Andrey Kalinovsky Date: Wed, 13 Feb 2013 13:29:22 +0100 Subject: [PATCH] Update README.md Not exactly sure about the types, but I thought it would be great to describe all the parameters for uv_fs_write and uv_fs_stat, since I spent quite some time to figure out there was more than one parameter. I guess some people might get confused as well. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5b99f1b..89f97c4 100644 --- a/README.md +++ b/README.md @@ -2236,7 +2236,7 @@ write buffer to specified file descriptor. *string $buffer*: buffer. -*callable $calback*: this callback parameter expects (resource $stream) +*callable $calback*: this callback parameter expects (resource $stream, long $result) ##### *Return Value* @@ -2630,7 +2630,7 @@ async stat *string $path*: -*callable $callback*: +*callable $callback*: this callback parameter expects (resource $stream, array $stat) ##### *Return Value*