From f9233ef90bb7f17f1136b30f5764eae39ba297c4 Mon Sep 17 00:00:00 2001 From: sogaiu <983021772@users.noreply.github.com> Date: Sun, 23 Jul 2023 18:39:20 +0900 Subject: [PATCH] Add fopen reference to file/open docstring --- src/core/io.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/io.c b/src/core/io.c index d9a8626a..3af158cf 100644 --- a/src/core/io.c +++ b/src/core/io.c @@ -143,7 +143,8 @@ JANET_CORE_FN(cfun_io_fopen, "Following one of the initial flags, 0 or more of the following flags can be appended:\n\n" "* b - open the file in binary mode (rather than text mode)\n\n" "* + - append to the file instead of overwriting it\n\n" - "* n - error if the file cannot be opened instead of returning nil") { + "* n - error if the file cannot be opened instead of returning nil\n\n" + "See fopen (, C99) for further details.") { janet_arity(argc, 1, 2); const uint8_t *fname = janet_getstring(argv, 0); const uint8_t *fmode;