#include "pthread_impl.h" #include int __pthread_cond_broadcast(pthread_cond_t *); int cnd_broadcast(cnd_t * cnd) { int ret = __pthread_cond_broadcast(cnd); return ret ? thrd_error : thrd_success; }