Update doc/efun/ aus Driversourcen.
Manpages der efuns aktualisiert, neue Manpages hinzugefuegt.
Change-Id: I7cc91684269ff56d1aef47d5c5e7c87f7fd531dc
diff --git a/doc/efun/set_bit b/doc/efun/set_bit
index 758bdc6..8935b4f 100644
--- a/doc/efun/set_bit
+++ b/doc/efun/set_bit
@@ -1,30 +1,30 @@
SYNOPSIS
string set_bit(string str, int n)
-BESCHREIBUNG
- Liefert einen neuen String, bei dem das Bit <n> in <str> gesetzt
- ist. Dabei wird der urspruengliche String <str> nicht veraendert.
+DESCRIPTION
+ Return the new string where bit n is set in string str. Note
+ that the old string str is not modified.
- Jedes Zeichen enthaelt 6 Bits. In jedem Zeichen kann deshalb eine
- Zahl von 0 bis 63 gespeichert werde (2^6=64). Das erste Zeichen
- ist der Leerschlag " " mit dem Wert 0. Das erste Zeichen im String
- ist jenes mit den niedrigsten Bits (0-5).
+ Each character contains 6 bits. So you can store a value
+ between 0 and 63 in one character (2^6=64). Starting character
+ is the blank " " which has the value 0. The first charcter in
+ the string is the one with the lowest bits (0-5).
- Der neue String wird automatisch verlaengert, falls noetig.
+ The new string will automatically be extended if needed.
-BEISPIELE
+EXAMPLES
string s;
s=set_bit("?",5);
- Weil "?" einen Wert von 31 hat, ist das 6. Bit nicht gesetzt. Wird
- es gesetzt, so ergibt sich "_". Der String s enthaelt nun also "_".
+ Because "?" has a value of 31 the variable s will now contain
+ the character "_" which is equal to 63 (31+2^5=63).
string s;
s=set_bit("78",3);
s=set_bit(s,8);
- s enthaelt nun "?<".
+ s will now contain the string "?<".
-SIEHE AUCH
+SEE ALSO
clear_bit(E), last_bit(E), next_bit(E), test_bit(E), count_bits(E),
and_bits(E), or_bits(E), xor_bits(E), invert_bits(E), copy_bits(E)