From a4bb8a8b5b38ae8ab48ac80c45526bdd14eac49c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Thu, 24 Oct 1996 19:09:50 -0700 Subject: [PATCH] new constants Rev: doc/simulated/read_file:1.1 Rev: doc/simulated/stderr:1.1 Rev: doc/simulated/stdin:1.1 Rev: doc/simulated/stdout:1.1 --- doc/simulated/read_file | 18 ++++++++++++++++++ doc/simulated/stderr | 14 ++++++++++++++ doc/simulated/stdin | 13 +++++++++++++ doc/simulated/stdout | 13 +++++++++++++ 4 files changed, 58 insertions(+) create mode 100644 doc/simulated/read_file create mode 100644 doc/simulated/stderr create mode 100644 doc/simulated/stdin create mode 100644 doc/simulated/stdout diff --git a/doc/simulated/read_file b/doc/simulated/read_file new file mode 100644 index 0000000000..84e3d3254d --- /dev/null +++ b/doc/simulated/read_file @@ -0,0 +1,18 @@ +NAME + read_bytes - read a number of lines into a string from file + +SYNTAX + #include <stdio.h> + + string read_file(string file, int start, int len); + +DESCRIPTION + Read 'len' lines from the file 'file' after skipping 'start' lines + and return those lines as a string. If start and len are omitted + the whole file is read. + +KEYWORDS + file + +SEE ALSO + read_bytes, write_file diff --git a/doc/simulated/stderr b/doc/simulated/stderr new file mode 100644 index 0000000000..e78d19f3c8 --- /dev/null +++ b/doc/simulated/stderr @@ -0,0 +1,14 @@ +NAME + stderr - Standard error stream + +SYNTAX EXAMPLE + #include <stdio.h> + + stderr->gets() + +DESCRIPTION + Stderr is a clone of /precompiled/file connected to the standard + error stream. + +SEE ALSO + /precompiled/file, werror diff --git a/doc/simulated/stdin b/doc/simulated/stdin new file mode 100644 index 0000000000..e56fa03989 --- /dev/null +++ b/doc/simulated/stdin @@ -0,0 +1,13 @@ +NAME + stdin - Standard input + +SYNTAX EXAMPLE + #include <stdio.h> + + stdin->gets() + +DESCRIPTION + Stdin is a clone of /precompiled/FILE connected to the standard input. + +SEE ALSO + /precompiled/FILE diff --git a/doc/simulated/stdout b/doc/simulated/stdout new file mode 100644 index 0000000000..1ced6a61a8 --- /dev/null +++ b/doc/simulated/stdout @@ -0,0 +1,13 @@ +NAME + stdout - Standard output + +SYNTAX EXAMPLE + #include <stdio.h> + + stdout->gets() + +DESCRIPTION + Stdout is a clone of /precompiled/file connected to the standard output. + +SEE ALSO + /precompiled/file, write -- GitLab