Update doc/efun/ aus Driversourcen.
Manpages der efuns aktualisiert, neue Manpages hinzugefuegt.
Change-Id: I7cc91684269ff56d1aef47d5c5e7c87f7fd531dc
diff --git a/doc/efun/unbound_lambda b/doc/efun/unbound_lambda
index 79926e1..eaf715d 100644
--- a/doc/efun/unbound_lambda
+++ b/doc/efun/unbound_lambda
@@ -1,30 +1,24 @@
SYNOPSIS
- closure unbound_lambda(mixed *arg, mixed code)
+ closure unbound_lambda(mixed *args, mixed)
-BESCHREIBUNG
- Erzeugt eine Lambda-Closure, die nicht an ein Objekt gebunden ist,
- entsprechend einer Lambda-Funktion in LISP.
+DESCRIPTION
+ Constructs a lambda closure that is not bound to an object,
+ like lambda function in LISP.
+ The closure cannot contain references to global variables, and
+ all lfun closures are inserted as is, since there is no native
+ object for this closure. You need to bind it before it can be
+ called. Ordinary objects can only bind to themselves, binding
+ to other objects causes a privilege violation(). The point is
+ that previous_object for calls done from inside the closure
+ will reflect the object doing bind_lambda(), and all object /
+ uid based security will also refer to this object.
- Die Closure kann keine Referenz zu globalen Variablen enthalten.
- Lfun-Closures werden unveraendert in die Closure eingebunden, da es
- kein Ursprungsobjekt fuer diese Closure gibt.
+ The first argument is an array describing the arguments
+ (symbols) passed to the closure upon evaluation by funcall()
+ or apply(), the second arg forms the code of the closure.
- Bevor die Closure aufgerufen werden kann, muss sie an ein Objekt
- gebunden werden. Normale Objekte koennen Closures nur an sich selbst
- binden, das Binden an andere Objekte erzeugt eine Schutzverletzung.
+HISTORY
+ Introduced in 3.2@82.
- Der Punkt ist, dass previous_object() fuer Aufrufe innerhalb der
- Closure auf das Objekt zeigt, das bind_lambda() aufgerufen hat, und
- alle objekt- oder uid-basierten Sicherheitschecks beziehen sich
- auf jenes Objekt.
-
- Das erste Argument <*arg> ist ein Array, das die Argumente (Symbole)
- enthaelt, die an die Closure uebergeben werden, wenn diese mit
- funcall() oder apply() ausgewertet wird. Das zweite Argument <code>
- enthaelt den Code der Closure.
-
-GESCHICHTE
- Eingefuehrt in 3.2@82.
-
-SIEHE AUCH
+SEE ALSO
closures(LPC), lambda(E), apply(E), funcall(E), bind_lambda(E)