]> rtime.felk.cvut.cz Git - sojka/libev.git/commitdiff
*** empty log message ***
authorMarc Alexander Lehmann <libev@schmorp.de>
Tue, 1 Mar 2016 19:19:25 +0000 (19:19 +0000)
committerMarc Alexander Lehmann <libev@schmorp.de>
Tue, 1 Mar 2016 19:19:25 +0000 (19:19 +0000)
ev.pod

diff --git a/ev.pod b/ev.pod
index 027d1aa5e9eec1786191b8d7220ad388f002fa51..633b87ea542a5ffab997ddfa71adc72c97c4f14e 100644 (file)
--- a/ev.pod
+++ b/ev.pod
@@ -5302,6 +5302,11 @@ assumes that the same (machine) code can be used to call any watcher
 callback: The watcher callbacks have different type signatures, but libev
 calls them using an C<ev_watcher *> internally.
 
+=item null pointers and integer zero are represented by 0 bytes
+
+Libev uses C<memset> to initialise structs and arrays to C<0> bytes, and
+relies on this setting pointers and integers to null.
+
 =item pointer accesses must be thread-atomic
 
 Accessing a pointer value must be atomic, it must both be readable and