v1.1.16 update
[musl-tables] / abi_func.cc
index ed88811..6abb9a9 100644 (file)
 #include <stropts.h>
 #include <sys/acct.h>
 #include <sys/auxv.h>
+#ifndef __GLIBC__
+#include <sys/cachectl.h>
+#endif
 #include <sys/epoll.h>
 #include <sys/eventfd.h>
 #include <sys/fanotify.h>
 #include <sys/file.h>
 #include <sys/fsuid.h>
 #include <sys/inotify.h>
+// #include <sys/io.h>
 #include <sys/ioctl.h>
 #include <sys/ipc.h>
 #include <sys/klog.h>
 #include <sys/xattr.h>
 #include <syslog.h>
 #include <termios.h>
+#ifndef __GLIBC__
+#include <threads.h>
+#endif
 #include <time.h>
 #include <uchar.h>
 #include <ucontext.h>
 #define M(x) x
 #endif
 
-// T(ElfW)
+// ElfW
 T(_Exit)
 T(__assert_fail)
 T(__ctype_get_mb_cur_max)
@@ -155,7 +162,7 @@ T(__signbit)
 T(__signbitf)
 T(__signbitl)
 T(_exit)
-// _flush_cache
+M(T(_flush_cache))
 T(_flushlbf)
 T(_longjmp)
 M(T(_pthread_cleanup_pop))
@@ -228,15 +235,15 @@ T(c32rtomb)
 T(cabs)
 T(cabsf)
 T(cabsl)
-// cachectl
-// cacheflush
+M(T(cachectl))
+M(T(cacheflush))
 T(cacos)
 T(cacosf)
 T(cacosh)
 T(cacoshf)
 T(cacoshl)
 T(cacosl)
-// call_once
+M(T(call_once))
 T(calloc)
 T(carg)
 T(cargf)
@@ -301,12 +308,12 @@ T(clone)
 T(close)
 T(closedir)
 T(closelog)
-// cnd_broadcast
-// cnd_destroy
-// cnd_init
-// cnd_signal
-// cnd_timedwait
-// cnd_wait
+M(T(cnd_broadcast))
+M(T(cnd_destroy))
+M(T(cnd_init))
+M(T(cnd_signal))
+M(T(cnd_timedwait))
+M(T(cnd_wait))
 T(confstr)
 T(conj)
 T(conjf)
@@ -486,7 +493,9 @@ T(fgets)
 T(fgets_unlocked)
 T(fgetspent)
 T(fgetwc)
+T(fgetwc_unlocked)
 T(fgetws)
+T(fgetws_unlocked)
 T(fgetxattr)
 T(fileno)
 T(fileno_unlocked)
@@ -523,7 +532,9 @@ T(fputc_unlocked)
 T(fputs)
 T(fputs_unlocked)
 T(fputwc)
+T(fputwc_unlocked)
 T(fputws)
+T(fputws_unlocked)
 T(fread)
 T(fread_unlocked)
 T(free)
@@ -660,7 +671,9 @@ T(getutxid)
 T(getutxline)
 T(getw)
 T(getwc)
+T(getwc_unlocked)
 T(getwchar)
+T(getwchar_unlocked)
 T(getxattr)
 T(glob)
 T(globfree)
@@ -906,12 +919,12 @@ T(msgget)
 T(msgrcv)
 T(msgsnd)
 T(msync)
-// mtx_destroy
-// mtx_init
-// mtx_lock
-// mtx_timedlock
-// mtx_trylock
-// mtx_unlock
+M(T(mtx_destroy))
+M(T(mtx_init))
+M(T(mtx_lock))
+M(T(mtx_timedlock))
+M(T(mtx_trylock))
+M(T(mtx_unlock))
 T(munlock)
 T(munlockall)
 T(munmap)
@@ -1048,6 +1061,7 @@ T(pthread_detach)
 T(pthread_equal)
 T(pthread_exit)
 T(pthread_getaffinity_np)
+T(pthread_getattr_default_np)
 T(pthread_getattr_np)
 T(pthread_getconcurrency)
 T(pthread_getcpuclockid)
@@ -1094,9 +1108,11 @@ T(pthread_rwlockattr_init)
 T(pthread_rwlockattr_setpshared)
 T(pthread_self)
 T(pthread_setaffinity_np)
+T(pthread_setattr_default_np)
 T(pthread_setcancelstate)
 T(pthread_setcanceltype)
 T(pthread_setconcurrency)
+T(pthread_setname_np)
 T(pthread_setschedparam)
 T(pthread_setschedprio)
 T(pthread_setspecific)
@@ -1107,6 +1123,8 @@ T(pthread_spin_lock)
 T(pthread_spin_trylock)
 T(pthread_spin_unlock)
 T(pthread_testcancel)
+T(pthread_timedjoin_np)
+T(pthread_tryjoin_np)
 T(ptrace)
 T(ptsname)
 T(ptsname_r)
@@ -1123,7 +1141,9 @@ T(pututline)
 T(pututxline)
 T(putw)
 T(putwc)
+T(putwc_unlocked)
 T(putwchar)
+T(putwchar_unlocked)
 T(pwrite)
 T(pwritev)
 T(qsort)
@@ -1428,14 +1448,14 @@ T(tfind)
 T(tgamma)
 T(tgammaf)
 T(tgammal)
-// thrd_create
-// thrd_current
-// thrd_detach
-// thrd_equal
-// thrd_exit
-// thrd_join
-// thrd_sleep
-// thrd_yield
+M(T(thrd_create))
+M(T(thrd_current))
+M(T(thrd_detach))
+M(T(thrd_equal))
+M(T(thrd_exit))
+M(T(thrd_join))
+M(T(thrd_sleep))
+M(T(thrd_yield))
 T(time)
 T(timegm)
 T(timer_create)
@@ -1466,10 +1486,10 @@ T(truncate)
 T(truncf)
 T(truncl)
 T(tsearch)
-// tss_create
-// tss_delete
-// tss_get
-// tss_set
+M(T(tss_create))
+M(T(tss_delete))
+M(T(tss_get))
+M(T(tss_set))
 T(ttyname)
 T(ttyname_r)
 T(twalk)
@@ -1543,6 +1563,7 @@ T(wcscpy)
 T(wcscspn)
 T(wcsdup)
 T(wcsftime)
+T(wcsftime_l)
 T(wcslen)
 T(wcsncasecmp)
 T(wcsncasecmp_l)