From f4c694af83a9cf4719fd2c1a7a140506c62f75e2 Mon Sep 17 00:00:00 2001 From: sinkhaha <1468709106@qq.com> Date: Thu, 15 Jun 2023 15:11:29 +0800 Subject: [PATCH] doc: update fs flags documentation --- doc/api/fs.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/api/fs.md b/doc/api/fs.md index e95865db7fb200..01abd668c499b0 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -7973,6 +7973,9 @@ string. * `'r'`: Open file for reading. An exception occurs if the file does not exist. +* `'rs'`: Open file for reading in synchronous mode. + An exception occurs if the file does not exist. + * `'r+'`: Open file for reading and writing. An exception occurs if the file does not exist.