We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1449ad8 + 4fa1a69 commit 7c1db67Copy full SHA for 7c1db67
src/core/io.c
@@ -249,9 +249,9 @@ JANET_CORE_FN(cfun_io_fread,
249
250
/* Write bytes to a file */
251
JANET_CORE_FN(cfun_io_fwrite,
252
- "(file/write f bytes)",
253
- "Writes to a file. 'bytes' must be string, buffer, or symbol. Returns the "
254
- "file.") {
+ "(file/write f & bytes)",
+ "Writes to a file `f`. Each value of `bytes` must be a "
+ "string, buffer, symbol, or keyword. Returns the file.") {
255
janet_arity(argc, 1, -1);
256
JanetFile *iof = janet_getabstract(argv, 0, &janet_file_type);
257
if (iof->flags & JANET_FILE_CLOSED)
0 commit comments