Update doc/efun/ aus Driversourcen.
Manpages der efuns aktualisiert, neue Manpages hinzugefuegt.
Change-Id: I7cc91684269ff56d1aef47d5c5e7c87f7fd531dc
diff --git a/doc/efun/read_bytes b/doc/efun/read_bytes
index c42109c..0a3c228 100644
--- a/doc/efun/read_bytes
+++ b/doc/efun/read_bytes
@@ -1,19 +1,23 @@
SYNOPSIS
- bytes read_bytes(string file, int start, int anzahl)
+ bytes read_bytes(string file, int start, int number)
-BESCHREIBUNG
- Liest eine bestimmte Anzahl Bytes aus dem File <file>. Wenn <start>
- nicht angegeben oder 0 ist, wird das File von Beginn weg gelesen,
- sonst vom Byte mit der Nummer <start>. Wenn <start> negativ ist,
- werden die Bytes vom Ende des Files her gezaehlt. <anzahl> ist die
- Anzahl Bytes, die gelesen werden sollen. Werte von 0 oder negative
- Werte sind zwar moeglich, aber wenig sinnvoll.
+DESCRIPTION
+ Reads a given amount of bytes from file.
+ If <start> is not given or 0, the file is read from the
+ beginning, else from the <start>th byte on. If <start> is
+ negative, it is counted from the end of the file. If this
+ would extend beyond the beginning of the file, it is read
+ from the beginning.
+ <number> is the number of bytes to read. 0 or negative values
+ are possible, but not useful.
+ If <start> would be beyond the end of the file, 0 is returned
+ instead of a string.
- Wenn <start> ausserhalb der Groesse des Files liegt, liefert
- read_byte() anstelle eines Strings 0 zurueck.
+ The maximum bytes being read per call is LIMIT_BYTE (see
+ query_limits()).
- Die max. Anzahl einzulesender Bytes pro Aufruf dieser Funktion
- betraegt LIMIT_BYTE (s. query_limits()).
+HISTORY
+ LDMud 3.6.5 accepts start offsets before the beginning of the file.
-SIEHE AUCH
+SEE ALSO
read_file(E), write_bytes(E), write_file(E)