]> git.proxmox.com Git - mirror_qemu.git/blobdiff - CODING_STYLE
CODING_STYLE: Reserve qemu_ prefix for library wrappers
[mirror_qemu.git] / CODING_STYLE
index a579cb1b5ff16bc44ba7c1afac2d285e9ffeb66c..92036f34bc71737ad01af0a2a94a2f691066403e 100644 (file)
@@ -49,6 +49,9 @@ and is therefore likely to be changed.
 Typedefs are used to eliminate the redundant 'struct' keyword.  It is the
 QEMU coding style.
 
+When wrapping standard library functions, use the prefix qemu_ to alert
+readers that they are seeing a wrapped version; otherwise avoid this prefix.
+
 4. Block structure
 
 Every indented statement is braced; even if the block contains just one