#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/membarrier.h>
#include <sys/mman.h>
#include <sys/mount.h>
#include <sys/msg.h>
#include <sys/prctl.h>
#include <sys/ptrace.h>
#include <sys/quota.h>
+#include <sys/random.h>
#include <sys/reboot.h>
#include <sys/resource.h>
#include <sys/select.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)
T(__signbitf)
T(__signbitl)
T(_exit)
-// _flush_cache
+M(T(_flush_cache))
T(_flushlbf)
T(_longjmp)
M(T(_pthread_cleanup_pop))
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)
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)
T(conjl)
T(connect)
+T(copy_file_range)
T(copysign)
T(copysignf)
T(copysignl)
T(exp2l)
T(expf)
T(expl)
+T(explicit_bzero)
T(expm1)
T(expm1f)
T(expm1l)
T(fgets_unlocked)
T(fgetspent)
T(fgetwc)
+T(fgetwc_unlocked)
T(fgetws)
+T(fgetws_unlocked)
T(fgetxattr)
T(fileno)
T(fileno_unlocked)
T(fmtmsg)
T(fnmatch)
T(fopen)
+T(fopencookie)
T(fork)
T(forkpty)
T(fpathconf)
T(fputs)
T(fputs_unlocked)
T(fputwc)
+T(fputwc_unlocked)
T(fputws)
+T(fputws_unlocked)
T(fread)
T(fread_unlocked)
T(free)
T(getdomainname)
T(getdtablesize)
T(getegid)
+T(getentropy)
T(getenv)
T(geteuid)
T(getgid)
T(getpwnam_r)
T(getpwuid)
T(getpwuid_r)
+T(getrandom)
T(getresgid)
T(getresuid)
T(getrlimit)
T(getutxline)
T(getw)
T(getwc)
+T(getwc_unlocked)
T(getwchar)
+T(getwchar_unlocked)
T(getxattr)
T(glob)
T(globfree)
T(mbstowcs)
T(mbtowc)
T(memalign)
+T(membarrier)
T(memccpy)
M(T(memchr))
T(memcmp)
T(memcpy)
+T(memfd_create)
T(memmem)
T(memmove)
T(mempcpy)
T(mktemp)
T(mktime)
T(mlock)
+T(mlock2)
T(mlockall)
T(mmap)
T(modf)
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)
+T(name_to_handle_at)
T(nan)
T(nanf)
T(nanl)
T(ntohl)
T(ntohs)
T(open)
+T(open_by_handle_at)
T(open_memstream)
T(open_wmemstream)
T(openat)
T(posix_memalign)
T(posix_openpt)
T(posix_spawn)
+T(posix_spawn_file_actions_addchdir_np)
T(posix_spawn_file_actions_addclose)
T(posix_spawn_file_actions_adddup2)
+T(posix_spawn_file_actions_addfchdir_np)
T(posix_spawn_file_actions_addopen)
T(posix_spawn_file_actions_destroy)
T(posix_spawn_file_actions_init)
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)
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)
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)
T(pututxline)
T(putw)
T(putwc)
+T(putwc_unlocked)
T(putwchar)
+T(putwchar_unlocked)
T(pwrite)
T(pwritev)
T(qsort)
T(sched_setparam)
T(sched_setscheduler)
T(sched_yield)
+T(secure_getenv)
T(seed48)
T(seekdir)
T(select)
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)
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)
T(wcscspn)
T(wcsdup)
T(wcsftime)
+T(wcsftime_l)
T(wcslen)
T(wcsncasecmp)
T(wcsncasecmp_l)