From ecd350ddf00e78649a7da5906b7811e6c70f654d Mon Sep 17 00:00:00 2001 From: TudbuT Date: Mon, 23 May 2022 20:15:36 +0200 Subject: [PATCH] Revert "fix stream docs" This reverts commit 53eb0868402a62dc1cc08bbb6ce52d5fc04c501e. --- docs/stream.md | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/stream.md b/docs/stream.md index 2364a80..10d67e2 100644 --- a/docs/stream.md +++ b/docs/stream.md @@ -6,65 +6,65 @@ ### `STREAM.stdin ::: -> path` -> Returns the path to the os-dependant unix-/dev/stdin equivalent + Returns the path to the os-dependant unix-/dev/stdin equivalent ### `stream.write ::: data id -> ` -> Writes data to a stream + Writes data to a stream ### `stream ::: [DYN]` -> Native for actions related to streams + Native for actions related to streams ### `stream.readline ::: id -> string` -> Returns the line that was read as a string. -1 means EOF. + Returns the line that was read as a string. -1 means EOF. ## Variables ### STREAM.create.file.out -> Constant to indicate create.file.out action: `filename STREAM.create.file.out stream -> id`. -> Creates an output stream. + Constant to indicate create.file.out action: `filename STREAM.create.file.out stream -> id`. + Creates an output stream. ### STREAM.create.file.in -> Constant to indicate create.file.in action: `filename STREAM.create.file.in stream -> id`. -> Creates an input stream. + Constant to indicate create.file.in action: `filename STREAM.create.file.in stream -> id`. + Creates an input stream. ### STREAM.close -> Constant to indicate close action: `id STREAM.close stream -> `. -> Closes a stream. + Constant to indicate close action: `id STREAM.close stream -> `. + Closes a stream. ### STREAM.create.socket -> Constant to indicate create.socket action: `ip port STREAM.create.socket stream -> id`. -> Creates an IO stream to a TCP server. + Constant to indicate create.socket action: `ip port STREAM.create.socket stream -> id`. + Creates an IO stream to a TCP server. ### STREAM.create.server -> Constant to indicate create.server action: `port STREAM.create.server stream -> id`. -> Creates an input stream. Each int read from it is a new IO socket stream id. + Constant to indicate create.server action: `port STREAM.create.server stream -> id`. + Creates an input stream. Each int read from it is a new IO socket stream id. ### STREAM.read -> Constant to indicate read action: `id STREAM.read stream -> int`. -> Reads a value from an input stream. + Constant to indicate read action: `id STREAM.read stream -> int`. + Reads a value from an input stream. ### STREAM.write -> Constant to indicate write action: `int id STREAM.write stream -> `. -> Writes a value to an output stream. + Constant to indicate write action: `int id STREAM.write stream -> `. + Writes a value to an output stream.