undefined reference to gettid

undefined reference to gettid

  • undefined reference to gettid

    #include <unistd.h>
    #include <sys/syscall.h>
    
    #ifdef SYS_gettid
    pid_t tid = syscall(SYS_gettid);
    #else
    #error "SYS_gettid unavailable on this system"
    #endif
    
hmoban主题是根据ripro二开的主题,极致后台体验,无插件,集成会员系统
自学咖网 » undefined reference to gettid