fix posix data: lgamma is not xsi, update tables
authornsz <nsz@port70.net>
Mon, 25 Jul 2011 14:51:31 +0000 (16:51 +0200)
committernsz <nsz@port70.net>
Mon, 25 Jul 2011 14:51:31 +0000 (16:51 +0200)
data/posix2008.ok
tab_c99.html
tab_posix.html

index ea10110..0ffbb7c 100644 (file)
@@ -486,9 +486,9 @@ ldexpf      math.h          ldexp, ldexpf, ldexpl - load exponent of a floating-point number
 ldexpl math.h          ldexp, ldexpf, ldexpl - load exponent of a floating-point number        long double ldexpl(long double x, int exp);
 ldiv   stdlib.h                ldiv, lldiv - compute quotient and remainder of a long division ldiv_t ldiv(long numer, long denom);
 lfind  search.h        XSI     lsearch, lfind - linear search and update       void *lfind(const void *key, const void *base, size_t *nelp, size_t width, int (*compar)(const void *, const void *));
-lgamma math.h  XSI     lgamma, lgammaf, lgammal, signgam - log gamma function  double lgamma(double x);
-lgammaf        math.h  XSI     lgamma, lgammaf, lgammal, signgam - log gamma function  float lgammaf(float x);
-lgammal        math.h  XSI     lgamma, lgammaf, lgammal, signgam - log gamma function  long double lgammal(long double x);
+lgamma math.h          lgamma, lgammaf, lgammal, signgam - log gamma function  double lgamma(double x);
+lgammaf        math.h          lgamma, lgammaf, lgammal, signgam - log gamma function  float lgammaf(float x);
+lgammal        math.h          lgamma, lgammaf, lgammal, signgam - log gamma function  long double lgammal(long double x);
 link   unistd.h                link, linkat - link one file to another file relative to two directory file descriptors int link(const char *path1, const char *path2);
 linkat unistd.h                link, linkat - link one file to another file relative to two directory file descriptors int linkat(int fd1, const char *path1, int fd2, const char*path2, int flag);
 lio_listio     aio.h           lio_listio - list directed I/O  int lio_listio(int mode, struct aiocb *restrict const list[restrict], int nent, struct sigevent *restrict sig);
index 7a54c89..7ef3377 100644 (file)
@@ -1,5 +1,5 @@
 <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=c0fe5b9da9f98b83262717c0090817f1fbb3d8a0">c0fe5b9da9f98b83262717c0090817f1fbb3d8a0</a><br>Date:   Fri Jul 22 00:25:56 2011 -0400<br><br>    check for fd exhaustion in forkpty<br>    <br>    we cannot report failure after forking, so the idea is to ensure prior<br>    to fork that fd 0,1,2 exist. this will prevent dup2 from possibly<br>    hitting a resource limit and failing in the child process. fcntl<br>    rather than dup2 is used prior to forking to avoid race conditions.
+<h4>commit</h4><p>commit <a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=commit;h=e01ac67599dea1fd78a1bd1a0339a1da07dc9578">e01ac67599dea1fd78a1bd1a0339a1da07dc9578</a><br>Date:   Mon Jul 25 09:22:05 2011 -0400<br><br>    when resolving symbols with only weak defs, use first def, not last def
 <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>&#160;<td>&#160;<td>NDEBUG<td>assert.h<td>&#160;<td>B.1 Diagnostics
index 1a527dc..acc2fc6 100644 (file)
@@ -1,5 +1,5 @@
 <h3>musl vs posix api</h3>
-<h4>commit</h4><p>commit <a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=commit;h=c0fe5b9da9f98b83262717c0090817f1fbb3d8a0">c0fe5b9da9f98b83262717c0090817f1fbb3d8a0</a><br>Date:   Fri Jul 22 00:25:56 2011 -0400<br><br>    check for fd exhaustion in forkpty<br>    <br>    we cannot report failure after forking, so the idea is to ensure prior<br>    to fork that fd 0,1,2 exist. this will prevent dup2 from possibly<br>    hitting a resource limit and failing in the child process. fcntl<br>    rather than dup2 is used prior to forking to avoid race conditions.
+<h4>commit</h4><p>commit <a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=commit;h=e01ac67599dea1fd78a1bd1a0339a1da07dc9578">e01ac67599dea1fd78a1bd1a0339a1da07dc9578</a><br>Date:   Mon Jul 25 09:22:05 2011 -0400<br><br>    when resolving symbols with only weak defs, use first def, not last def
 <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)<ul><li>d - macro definition<li>p - function prototype<li>x - external and forward variable declaration</ul></ul><p>(any option mark found in the synopsis of a manual is listed in the option column, this is often wrong)<p>(STREAMS and posix_trace* api is excluded)
 <h4>table</h4><table border=1><tr><th colspan=3>musl<th colspan=4>posix<tr><th>status<th>sym<th>decl<th>name<th>header<th>option<th>desc
 <tr><td>&#160;<td>&#160;<td><a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=blob;f=include/sys/select.h#l27">d</a> <td><a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/FD_CLR.html">FD_CLR</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_select.h.html">sys_select.h</a><td>&#160;<td>pselect, select - synchronous I/O multiplexing
 <tr><td>&#160;<td>T<td><a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=blob;f=include/time.h#l45">p</a> <td><a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/clock.html">clock</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/time.h.html">time.h</a><td>&#160;<td>clock - report CPU time used
 <tr><td>&#160;<td>T<td><a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=blob;f=include/time.h#l86">p</a> <td><a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/clock_getcpuclockid.html">clock_getcpuclockid</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/time.h.html">time.h</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/help/codes.html#CPT">CPT</a><td>clock_getcpuclockid - access a process CPU-time clock (<b>ADVANCED REALTIME</b>)
 <tr><td>&#160;<td>T<td><a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=blob;f=include/time.h#l82">p</a> <td><a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/clock_getres.html">clock_getres</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/time.h.html">time.h</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/help/codes.html#CX">CX</a><td>clock_getres, clock_gettime, clock_settime - clock and timer functions
-<tr><td>&#160;<td>T<td><a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=blob;f=include/time.h#l83">p</a> <td><a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/clock_gettime.html">clock_gettime</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/time.h.html">time.h</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/help/codes.html#CX">CX</a><td>clock_getres, clock_gettime, clock_settime - clock and timer functions
+<tr><td>&#160;<td>W<td><a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=blob;f=include/time.h#l83">p</a> <td><a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/clock_gettime.html">clock_gettime</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/time.h.html">time.h</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/help/codes.html#CX">CX</a><td>clock_getres, clock_gettime, clock_settime - clock and timer functions
 <tr><td>&#160;<td>T<td><a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=blob;f=include/time.h#l85">p</a> <td><a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/clock_nanosleep.html">clock_nanosleep</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/time.h.html">time.h</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/help/codes.html#CX">CX</a><td>clock_nanosleep - high resolution sleep with specifiable clock
 <tr><td>&#160;<td>T<td><a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=blob;f=include/time.h#l84">p</a> <td><a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/clock_settime.html">clock_settime</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/time.h.html">time.h</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/help/codes.html#CX">CX</a><td>clock_getres, clock_gettime, clock_settime - clock and timer functions
 <tr><td>missing<td>&#160;<td>&#160;<td><a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/clog.html">clog</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/complex.h.html">complex.h</a><td>&#160;<td>clog, clogf, clogl - complex natural logarithm functions
 <tr><td>nosym<td>&#160;<td><a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=blob;f=include/math.h#l175">p</a> <td><a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/ldexpl.html">ldexpl</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/math.h.html">math.h</a><td>&#160;<td>ldexp, ldexpf, ldexpl - load exponent of a floating-point number
 <tr><td>&#160;<td>T<td><a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=blob;f=include/stdlib.h#l63">p</a> <td><a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/ldiv.html">ldiv</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stdlib.h.html">stdlib.h</a><td>&#160;<td>ldiv, lldiv - compute quotient and remainder of a long division
 <tr><td>&#160;<td>T<td><a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=blob;f=include/search.h#l28">p</a> <td><a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/lfind.html">lfind</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/search.h.html">search.h</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/help/codes.html#XSI">XSI</a><td>lsearch, lfind - linear search and update
-<tr><td>nosym<td>&#160;<td><a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=blob;f=include/math.h#l177">p</a> <td><a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/lgamma.html">lgamma</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/math.h.html">math.h</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/help/codes.html#XSI">XSI</a><td>lgamma, lgammaf, lgammal, signgam - log gamma function
-<tr><td>nosym<td>&#160;<td><a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=blob;f=include/math.h#l178">p</a> <td><a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/lgammaf.html">lgammaf</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/math.h.html">math.h</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/help/codes.html#XSI">XSI</a><td>lgamma, lgammaf, lgammal, signgam - log gamma function
-<tr><td>nosym<td>&#160;<td><a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=blob;f=include/math.h#l179">p</a> <td><a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/lgammal.html">lgammal</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/math.h.html">math.h</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/help/codes.html#XSI">XSI</a><td>lgamma, lgammaf, lgammal, signgam - log gamma function
+<tr><td>nosym<td>&#160;<td><a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=blob;f=include/math.h#l177">p</a> <td><a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/lgamma.html">lgamma</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/math.h.html">math.h</a><td>&#160;<td>lgamma, lgammaf, lgammal, signgam - log gamma function
+<tr><td>nosym<td>&#160;<td><a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=blob;f=include/math.h#l178">p</a> <td><a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/lgammaf.html">lgammaf</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/math.h.html">math.h</a><td>&#160;<td>lgamma, lgammaf, lgammal, signgam - log gamma function
+<tr><td>nosym<td>&#160;<td><a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=blob;f=include/math.h#l179">p</a> <td><a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/lgammal.html">lgammal</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/math.h.html">math.h</a><td>&#160;<td>lgamma, lgammaf, lgammal, signgam - log gamma function
 <tr><td>&#160;<td>T<td><a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=blob;f=include/unistd.h#l54">p</a> <td><a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/link.html">link</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/unistd.h.html">unistd.h</a><td>&#160;<td>link, linkat - link one file to another file relative to two directory file descriptors
 <tr><td>&#160;<td>T<td><a href="http://git.etalabs.net/cgi-bin/gitweb.cgi?p=musl;a=blob;f=include/unistd.h#l55">p</a> <td><a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/linkat.html">linkat</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/unistd.h.html">unistd.h</a><td>&#160;<td>link, linkat - link one file to another file relative to two directory file descriptors
 <tr><td>missing<td>&#160;<td>&#160;<td><a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/lio_listio.html">lio_listio</a><td> <a href="http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/aio.h.html">aio.h</a><td>&#160;<td>lio_listio - list directed I/O