Update doc/efun/ aus Driversourcen.
Manpages der efuns aktualisiert, neue Manpages hinzugefuegt.
Change-Id: I7cc91684269ff56d1aef47d5c5e7c87f7fd531dc
diff --git a/doc/efun/read_file b/doc/efun/read_file
index 3c58ec1..a05fa1c 100644
--- a/doc/efun/read_file
+++ b/doc/efun/read_file
@@ -1,26 +1,27 @@
SYNOPSIS
- string read_file(string file, int start, int anzahl, string encoding)
+ string read_file(string file, int start, int number, string encoding)
-BESCHREIBUNG
- Liest Zeilen aus einem File <file>. Wenn <start> angegeben ist und
- nicht 0, wird von Beginn der Zeile <start> an gelesen; ist <start> 0
- oder nicht angegeben, wird vom Beginn des Files gelesen.
+DESCRIPTION
+ Reads lines from file.
+ If <start> is not given or 0, the file is read from the
+ beginning, else the efun starts reading at the beginning of line
+ <start>.
- Wenn <anzahl> nicht angegeben oder 0 ist, wird das gesamte File
- gelesen, sonst nur <anzahl> Zeilen.
+ If <number> is not given or 0, the whole file is read, else
+ just the given amount of lines.
- Mit <encoding> kann man den Zeichensatz spezifieren, der beim
- Lesen der Datei angewandt werden soll. Falls er nicht angeben oder
- 0 ist, so wird der Hook H_FILE_ENCODING verwendet.
+ <encoding> denotes the encoding to be used for decoding the file.
+ If it is not given or 0, the H_FILE_ENCODING driver hook will
+ be used.
- Wenn <start> ausserhalb der Groesse des Files liegt, liefert
- read_file() anstelle eines Strings 0 zurueck.
+ If <start> would be outside the actual size of the file, 0 is
+ returned instead of a string.
- Die max. Anzahl einzulesender Bytes (nicht Zeilen!) pro Aufruf dieser
- Funktion betraegt LIMIT_FILE (s. query_limits()).
+ The maximum number of characters (not lines!) being read per
+ call is LIMIT_FILE (see query_limits()).
-GESCHICHTE
- LDMud 3.6.0 fuegte den <encoding>-Parameter hinzu.
+HISTORY
+ LDMud 3.6.0 added the <encoding> parameter.
-SIEHE AUCH
+SEE ALSO
read_bytes(E), write_file(E), hooks(C)