From: nsz Date: Wed, 29 Jun 2011 14:36:16 +0000 (+0200) Subject: table updates: dlfcn X-Git-Url: http://nsz.repo.hu/git/?p=musl-tables;a=commitdiff_plain;h=ac3ccc8a3c0d9a1c009cfb102152d67277c973f5 table updates: dlfcn --- diff --git a/tab_c99.html b/tab_c99.html index fb22f63..933cc6b 100644 --- a/tab_c99.html +++ b/tab_c99.html @@ -1,5 +1,5 @@

musl vs c99 api

-

commit

commit febbd12d00883a716a9edca25011f8aa306b859b
Date: Sat Jun 25 18:18:57 2011 -0400

XSI search.h API implementation by Szabolcs Nagy +

commit

commit af3d5405b8d7b00c121643d7a0c0b9bb31cc7139
Date: Wed Jun 29 00:42:42 2011 -0400

work around linux bug in mprotect

per POSIX: The mprotect() function shall change the access protections
to be that specified by prot for those whole pages containing any part
of the address space of the process starting at address addr and
continuing for len bytes.

on the other hand, linux mprotect fails with EINVAL if the base
address and/or length is not page-aligned, so we have to align them
before making the syscall.

legend

table

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

musl vs posix api

-

commit

commit febbd12d00883a716a9edca25011f8aa306b859b
Date: Sat Jun 25 18:18:57 2011 -0400

XSI search.h API implementation by Szabolcs Nagy +

commit

commit af3d5405b8d7b00c121643d7a0c0b9bb31cc7139
Date: Wed Jun 29 00:42:42 2011 -0400

work around linux bug in mprotect

per POSIX: The mprotect() function shall change the access protections
to be that specified by prot for those whole pages containing any part
of the address space of the process starting at address addr and
continuing for len bytes.

on the other hand, linux mprotect fails with EINVAL if the base
address and/or length is not page-aligned, so we have to align them
before making the syscall.

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 @@ -182,10 +182,10 @@
 Tp dirfd dirent.h dirfd - extract the file descriptor used by a DIR stream
 Tp dirname libgen.h XSIdirname - report the parent directory name of a file pathname
 Tp div stdlib.h div - compute the quotient and remainder of an integer division -
nosym p dlclose dlfcn.h dlclose - close a dlopen object -
nosym p dlerror dlfcn.h dlerror - get diagnostic information -
nosym p dlopen dlfcn.h dlopen - gain access to an executable object file -
nosym p dlsym dlfcn.h dlsym - obtain the address of a symbol from a dlopen object +
 Tp dlclose dlfcn.h dlclose - close a dlopen object +
 Tp dlerror dlfcn.h dlerror - get diagnostic information +
 Tp dlopen dlfcn.h dlopen - gain access to an executable object file +
 Tp dlsym dlfcn.h dlsym - obtain the address of a symbol from a dlopen object
 Tp dprintf stdio.h CXdprintf, fprintf, printf, snprintf, sprintf - print formatted output
 Tp drand48 stdlib.h XSIdrand48, erand48, jrand48, lcong48, lrand48, mrand48, nrand48, seed48, srand48 - generate uniformly distributed pseudo-random numbers
 Tp dup unistd.h dup, dup2 - duplicate an open file descriptor @@ -1136,4 +1136,4 @@
nosym p y1 math.h XSIy0, y1, yn - Bessel functions of the second kind
nosym p yn math.h XSIy0, y1, yn - Bessel functions of the second kind
-

stats

  • missing: 137
  • nosym: 129
  • nodecl: 3
+

stats

  • missing: 137
  • nosym: 125
  • nodecl: 3