From fe5f67575879eb1e4034e79c28084599d909d5eb Mon Sep 17 00:00:00 2001 From: mah0x211 Date: Wed, 27 Mar 2024 09:31:54 +0900 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 373f69e..caa3e8d 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,10 @@ the following functions return the `error` object created by https://github.com/ create a new reader instance that reads data from a file or file descriptor. +**NOTE** + +this function uses the `dup` system call internally to duplicate a file descriptor. thus, data can be read from a file even if the passed file is closed. + **Parameters** - `f:file*|string|integer`: file, filename or file descriptor.