Update doc/efun/ aus Driversourcen.
Manpages der efuns aktualisiert, neue Manpages hinzugefuegt.
Change-Id: I7cc91684269ff56d1aef47d5c5e7c87f7fd531dc
diff --git a/doc/efun/xor_bits b/doc/efun/xor_bits
index 885afa8..66d9fb3 100644
--- a/doc/efun/xor_bits
+++ b/doc/efun/xor_bits
@@ -1,19 +1,22 @@
SYNOPSIS
string xor_bits(string str1, string str2)
-BESCHREIBUNG
- <str1> und <str2> sind beiden Bitstrings. Das Resultat von xor_bits()
- ist ein Bitstring mit dem binaeren XOR von <str1> und <str2>, also
- ein String, in dem ein Bit nur gesetzt ist, wenn es entweder in <str1>
- oder in <str2> vorkommt, nicht aber in beiden.
+DESCRIPTION
+ <str1> and <str2> are both bitstrings. The result of the function
+ is a bitstring with the binary-xor of <str1> and <str2>,
+ ie. a string in which a bit is set only if the corresponding
+ bits in either <str1> or <str2> (but not both) is set.
-BEISPIELE
+EXAMPLES
string s1, s2, s3;
- s1 = set_bit("", 3); s1 = set_bit(s1, 15); -> s1 ist "( ("
- s2 = set_bit("", 3); s2 = set_bit(s2, 4); -> s2 ist "8"
- s3 = xor_bits(s1, s2);
- -> s3 ist "0 (", es sind also das 4. und das 15. Bit gesetzt.
-SIEHE AUCH
- clear_bit(E), set_bit(E), test_bit(E), next_bit(E), last_bit(E)
+ s1 = set_bit("", 3); s1 = set_bit(s1, 15); -> s1 is "( ("
+ s2 = set_bit("", 3); s2 = set_bit(s2, 4); -> s2 is "8"
+
+ s3 = xor_bits(s1, s2);
+
+ -> s3 is now "0 (", ie. a bitstring with bits 4 and 15 set.
+
+SEE ALSO
+ clear_bit(E), set_bit(E), test_bit(E), next_bit(E), last_bit(E),
count_bits(E), and_bits(E), or_bits(E), invert_bits(E), copy_bits(E)