<h3>musl vs c99 api</h3>
-<h4>commit</h4><p>commit <a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=commit;h=febbd12d00883a716a9edca25011f8aa306b859b">febbd12d00883a716a9edca25011f8aa306b859b</a><br>Date: Sat Jun 25 18:18:57 2011 -0400<br><br> XSI search.h API implementation by Szabolcs Nagy
+<h4>commit</h4><p>commit <a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=commit;h=af3d5405b8d7b00c121643d7a0c0b9bb31cc7139">af3d5405b8d7b00c121643d7a0c0b9bb31cc7139</a><br>Date: Wed Jun 29 00:42:42 2011 -0400<br><br> work around linux bug in mprotect<br> <br> per POSIX: The mprotect() function shall change the access protections<br> to be that specified by prot for those whole pages containing any part<br> of the address space of the process starting at address addr and<br> continuing for len bytes.<br> <br> on the other hand, linux mprotect fails with EINVAL if the base<br> address and/or length is not page-aligned, so we have to align them<br> before making the syscall.
<h4>legend</h4><ul><li>status: musl implementation status summary<ul><li>(empty) - implemented<li>nosym - prototype found in include files (see decl) but not in libc.a (see sym)<li>nodecl - symbol is in libc.a but not declared in a public header<li>missing - neither in include files (see decl) nor in libc.a (see sym)</ul><li>sym: external symbol kind as found by `nm libc.a` (symbol kind only reported once)<ul><li>C - symbol is common (uninitialized data)<li>D - symbol is in the initialized data section<li>R - symbol is in the read only data section<li>T - symbol is in the text section<li>V - weak object<li>W - weak symbol</ul><li>decl: kind of declaration as found by `ctags -R include` (every occurance is reported, arch specific definitions are not linked)<ul><li>d - macro definition<li>t - typedef<li>s - struct declaration<li>u - union declaration<li>p - function prototype<li>x - external and forward variable declaration</ul></ul>
<h4>table</h4><table border=1><tr><th colspan=3>musl<th colspan=4>c99<tr><th>status<th>sym<th>decl<th>name<th>header<th>proto<th>section
<tr><td>missing<td> <td> <td>NDEBUG<td>assert.h<td> <td>B.1 Diagnostics