1 --- abi_func.x86_64.glibc
2 +++ abi_func.x86_64.musl
4 -void __assert_fail(char const*, char const*, unsigned int, char const*)
5 +void __assert_fail(char const*, char const*, int, char const*)
9 -void __fpurge(_IO_FILE*)
10 +int __fpurge(_IO_FILE*)
12 +unsigned long __freadahead(_IO_FILE*)
14 +char const* __freadptr(_IO_FILE*, unsigned long*)
15 +void __freadptrinc(_IO_FILE*, unsigned long)
16 +void __fseterr(_IO_FILE*)
18 +int _flush_cache(void*, int, int)
20 +void _pthread_cleanup_pop(__ptcb*, int)
21 +void _pthread_cleanup_push(__ptcb*, void (*)(void*), void*)
23 +int cachectl(void*, int, int)
24 +int cacheflush(void*, int, int)
26 +void call_once(int*, void (*)())
28 +int cnd_broadcast(cnd_t*)
29 +void cnd_destroy(cnd_t*)
31 +int cnd_signal(cnd_t*)
32 +int cnd_timedwait(cnd_t*, mtx_t*, timespec const*)
33 +int cnd_wait(cnd_t*, mtx_t*)
35 -int fanotify_mark(int, unsigned int, unsigned long, int, char const*)
36 +int fanotify_mark(int, unsigned int, unsigned long long, int, char const*)
38 +char* fgetln(_IO_FILE*, unsigned long*)
40 +int getdents(int, dirent*, unsigned long)
44 -int gettimeofday(timeval*, timezone*)
45 +int gettimeofday(timeval*, void*)
48 -utmp* getutid(utmp const*)
49 -utmp* getutline(utmp const*)
51 +utmpx* getutid(utmpx const*)
52 +utmpx* getutline(utmpx const*)
54 +char* index(char const*, int)
56 -int ioctl(int, unsigned long, ...)
57 +int ioctl(int, int, ...)
61 -int lio_listio(int, aiocb* const*, int, sigevent*)
62 +int lio_listio(int, aiocb* const restrict*, int, sigevent*)
64 +void* memchr(void const*, int, unsigned long)
66 +void* memrchr(void const*, int, unsigned long)
68 +void mtx_destroy(mtx_t*)
69 +int mtx_init(mtx_t*, int)
71 +int mtx_timedlock(mtx_t*, timespec const*)
72 +int mtx_trylock(mtx_t*)
73 +int mtx_unlock(mtx_t*)
75 +int posix_close(int, int)
77 -int prlimit(int, __rlimit_resource, rlimit const*, rlimit*)
78 +int prlimit(int, int, rlimit const*, rlimit*)
80 -int pthread_spin_destroy(int volatile*)
81 -int pthread_spin_init(int volatile*, int)
82 -int pthread_spin_lock(int volatile*)
83 -int pthread_spin_trylock(int volatile*)
84 -int pthread_spin_unlock(int volatile*)
85 +int pthread_spin_destroy(int*)
86 +int pthread_spin_init(int*, int)
87 +int pthread_spin_lock(int*)
88 +int pthread_spin_trylock(int*)
89 +int pthread_spin_unlock(int*)
91 -long ptrace(__ptrace_request, ...)
92 +long ptrace(int, ...)
94 -utmp* pututline(utmp const*)
95 +utmpx* pututline(utmpx const*)
97 -int recvmmsg(int, mmsghdr*, unsigned int, int, timespec*)
98 +int recvmmsg(int, mmsghdr*, unsigned int, unsigned int, timespec*)
100 +char* rindex(char const*, int)
102 -int sendmmsg(int, mmsghdr*, unsigned int, int)
103 +int sendmmsg(int, mmsghdr*, unsigned int, unsigned int)
105 +char* strcasestr(char const*, char const*)
106 @@ -1180,0 +1214,2 @@
107 +char* strchr(char const*, int)
108 +char* strchrnul(char const*, int)
110 -char* strerror_r(int, char*, unsigned long)
111 +int strerror_r(int, char*, unsigned long)
112 @@ -1193,0 +1229,2 @@
113 +unsigned long strlcat(char*, char const*, unsigned long)
114 +unsigned long strlcpy(char*, char const*, unsigned long)
116 +char* strpbrk(char const*, char const*)
118 +char* strrchr(char const*, int)
120 +char* strstr(char const*, char const*)
121 @@ -1263,0 +1304,8 @@
122 +int thrd_create(unsigned long*, int (*)(void*), void*)
123 +unsigned long thrd_current()
124 +int thrd_detach(unsigned long)
125 +int thrd_equal(unsigned long, unsigned long)
127 +int thrd_join(unsigned long, int*)
128 +int thrd_sleep(timespec const*, timespec*)
130 @@ -1293,0 +1342,4 @@
131 +int tss_create(unsigned int*, void (*)(void*))
132 +void tss_delete(unsigned int)
133 +void* tss_get(unsigned int)
134 +int tss_set(unsigned int, void*)
136 -void updwtmp(char const*, utmp const*)
137 +void updwtmp(char const*, utmpx const*)
139 +wchar_t* wcschr(wchar_t const*, wchar_t)
140 @@ -1373,0 +1427,2 @@
141 +wchar_t* wcspbrk(wchar_t const*, wchar_t const*)
142 +wchar_t* wcsrchr(wchar_t const*, wchar_t)
144 +wchar_t* wcsstr(wchar_t const*, wchar_t const*)
146 +wchar_t* wcswcs(wchar_t const*, wchar_t const*)
148 +wchar_t* wmemchr(wchar_t const*, wchar_t, unsigned long)