1 #define _GNU_SOURCE 2 #include "usr_lib_define.h" 3 #include <string.h> 4 #include "pthread_impl.h" 5 #include "syscall.h" 6 pthread_cancel(pthread_t t)7_LIBC_TEXT_SECTION int pthread_cancel(pthread_t t) 8 { 9 return ENOSYS; 10 } 11
1 #define _GNU_SOURCE 2 #include "usr_lib_define.h" 3 #include <string.h> 4 #include "pthread_impl.h" 5 #include "syscall.h" 6 pthread_cancel(pthread_t t)7_LIBC_TEXT_SECTION int pthread_cancel(pthread_t t) 8 { 9 return ENOSYS; 10 } 11