Update doc/efun/ aus Driversourcen.
Manpages der efuns aktualisiert, neue Manpages hinzugefuegt.
Change-Id: I7cc91684269ff56d1aef47d5c5e7c87f7fd531dc
diff --git a/doc/efun/debug_message b/doc/efun/debug_message
index 6b3b652..35e09e1 100644
--- a/doc/efun/debug_message
+++ b/doc/efun/debug_message
@@ -4,34 +4,35 @@
void debug_message(string text)
void debug_message(string text, int flags)
-BESCHREIBUNG
- Gibt <text> an die Ausgaenge stdout und stderr sowie an die Datei
- <host>.debug.log oder an eine beliebige Kombination dieser drei aus.
+DESCRIPTION
+ Prints the given text to stdout, stderr, the <host>.debug.log file,
+ or any combination of these.
- Das Argument <flag> bezeichnet durch eine Kombination von Bitflags das
- Ziel und die Art, in der das Resultat geschrieben wird.
+ The parameter <flags> is a combination of bitflags determining the
+ target and the mode of writing.
- Die Ziel-Flags sind: DMSG_STDOUT, DMSG_STDERR und DMS_LOGFILE. Wird
- zusaetzlich das Flag DMSG_STAMP gesetzt, erhaelt jeder Eintrag einen
- Zeitstempel (Timestamp) im Format 'YYYY.MM.DD HH:MM:SS '.
+ The target flags are: DMSG_STDOUT, DMSG_STDERR and DMSG_LOGFILE.
+ If the flag DMSG_STAMP is given, the message is prepended with the
+ current date and time in the format 'YYYY.MM.DD HH:MM:SS '.
- Wenn <flags> 0 ist, weggelassen wird oder kein Ziel-Flag enthaelt,
- wird <text> standardmaessig an stdout und ins Logfile ausgegeben.
+ If <flags> is given as 0, left out, or contains no target
+ definition, debug_message() will print to stdout and to the logfile.
-BEISPIELE
- debug_message("Dieser Text geht an stdout und ins Logfile.\n");
- debug_message("Dies geht an stderr.\n", DMSG_STDERR);
- debug_message("Dies geht an stdout und stderr.\n", DMSG_STDOUT
- | DMSG_STDERR);
- debug_message("Dies geht an stdout und ins Logfile, mit Timestamp.\n",
- DMSG_STAMP);
- debug_message("Die geht an stdout, mit vorangestelltem Timestamp.\n",
- DMSG_STDOUT | DMSG_STAMP);
+EXAMPLES
+ debug_message("This goes to stdout and the logfile.\n");
+ debug_message("This goes to stderr.\n", DMSG_STDERR);
+ debug_message("This goes to stdout and stderr.\n"
+ , DMSG_STDOUT | DMSG_STDERR);
-GESCHICHTE
- Eingefuehrt in 3.2.1@34.
- LDMud 3.2.9 fuehrte das Argument <flags> ein.
+ debug_message("This goes to stdout and the logfile, with timestamp.\n"
+ , DMSG_STAMP);
+ debug_message("This goes to stdout and has the timestamp in front.\n"
+ , DMSG_STDOUT | DMSG_STAMP);
-SIEHE AUCH
+HISTORY
+ Introduced in 3.2.1@34.
+ LDMud 3.2.9 introduced the <flags> parameter.
+
+SEE ALSO
last_instructions(E)