From b140fa08f689e7e3d53399ae46e7853331f0e1af Mon Sep 17 00:00:00 2001 From: nsz Date: Mon, 25 Jul 2011 16:51:31 +0200 Subject: [PATCH] fix posix data: lgamma is not xsi, update tables --- data/posix2008.ok | 6 +++--- tab_c99.html | 2 +- tab_posix.html | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/data/posix2008.ok b/data/posix2008.ok index ea10110..0ffbb7c 100644 --- a/data/posix2008.ok +++ b/data/posix2008.ok @@ -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); diff --git a/tab_c99.html b/tab_c99.html index 7a54c89..7ef3377 100644 --- a/tab_c99.html +++ b/tab_c99.html @@ -1,5 +1,5 @@

musl vs c99 api

-

commit

commit c0fe5b9da9f98b83262717c0090817f1fbb3d8a0
Date: Fri Jul 22 00:25:56 2011 -0400

check for fd exhaustion in forkpty

we cannot report failure after forking, so the idea is to ensure prior
to fork that fd 0,1,2 exist. this will prevent dup2 from possibly
hitting a resource limit and failing in the child process. fcntl
rather than dup2 is used prior to forking to avoid race conditions. +

commit

commit e01ac67599dea1fd78a1bd1a0339a1da07dc9578
Date: Mon Jul 25 09:22:05 2011 -0400

when resolving symbols with only weak defs, use first def, not last def

legend

table

muslc99
statussymdeclnameheaderprotosection
missing  NDEBUGassert.h B.1 Diagnostics diff --git a/tab_posix.html b/tab_posix.html index 1a527dc..acc2fc6 100644 --- a/tab_posix.html +++ b/tab_posix.html @@ -1,5 +1,5 @@

musl vs posix api

-

commit

commit c0fe5b9da9f98b83262717c0090817f1fbb3d8a0
Date: Fri Jul 22 00:25:56 2011 -0400

check for fd exhaustion in forkpty

we cannot report failure after forking, so the idea is to ensure prior
to fork that fd 0,1,2 exist. this will prevent dup2 from possibly
hitting a resource limit and failing in the child process. fcntl
rather than dup2 is used prior to forking to avoid race conditions. +

commit

commit e01ac67599dea1fd78a1bd1a0339a1da07dc9578
Date: Mon Jul 25 09:22:05 2011 -0400

when resolving symbols with only weak defs, use first def, not last def

legend

  • status: musl implementation status summary
    • (empty) - implemented
    • nosym - prototype found in include files (see decl) but not in libc.a (see sym)
    • nodecl - symbol is in libc.a but not declared in a public header
    • missing - neither in include files (see decl) nor in libc.a (see sym)
  • sym: external symbol kind as found by `nm libc.a` (symbol kind only reported once)
    • C - symbol is common (uninitialized data)
    • D - symbol is in the initialized data section
    • R - symbol is in the read only data section
    • T - symbol is in the text section
    • V - weak object
    • W - weak symbol
  • decl: kind of declaration as found by `ctags -R include` (every occurance is reported)
    • d - macro definition
    • p - function prototype
    • x - external and forward variable declaration

(any option mark found in the synopsis of a manual is listed in the option column, this is often wrong)

(STREAMS and posix_trace* api is excluded)

table

muslposix
statussymdeclnameheaderoptiondesc
  d FD_CLR sys_select.h pselect, select - synchronous I/O multiplexing @@ -116,7 +116,7 @@
 Tp clock time.h clock - report CPU time used
 Tp clock_getcpuclockid time.h CPTclock_getcpuclockid - access a process CPU-time clock (ADVANCED REALTIME)
 Tp clock_getres time.h CXclock_getres, clock_gettime, clock_settime - clock and timer functions -
 Tp clock_gettime time.h CXclock_getres, clock_gettime, clock_settime - clock and timer functions +
 Wp clock_gettime time.h CXclock_getres, clock_gettime, clock_settime - clock and timer functions
 Tp clock_nanosleep time.h CXclock_nanosleep - high resolution sleep with specifiable clock
 Tp clock_settime time.h CXclock_getres, clock_gettime, clock_settime - clock and timer functions
missing  clog complex.h clog, clogf, clogl - complex natural logarithm functions @@ -490,9 +490,9 @@
nosym p ldexpl math.h ldexp, ldexpf, ldexpl - load exponent of a floating-point number
 Tp ldiv stdlib.h ldiv, lldiv - compute quotient and remainder of a long division
 Tp lfind search.h XSIlsearch, lfind - linear search and update -
nosym p lgamma math.h XSIlgamma, lgammaf, lgammal, signgam - log gamma function -
nosym p lgammaf math.h XSIlgamma, lgammaf, lgammal, signgam - log gamma function -
nosym p lgammal math.h XSIlgamma, lgammaf, lgammal, signgam - log gamma function +
nosym p lgamma math.h lgamma, lgammaf, lgammal, signgam - log gamma function +
nosym p lgammaf math.h lgamma, lgammaf, lgammal, signgam - log gamma function +
nosym p lgammal math.h lgamma, lgammaf, lgammal, signgam - log gamma function
 Tp link unistd.h link, linkat - link one file to another file relative to two directory file descriptors
 Tp linkat unistd.h link, linkat - link one file to another file relative to two directory file descriptors
missing  lio_listio aio.h lio_listio - list directed I/O -- 2.20.1