github.com/afumu/libc@v0.0.6/musl/src/thread/cnd_wait.c (about)

     1  #include <threads.h>
     2  
     3  int cnd_wait(cnd_t *c, mtx_t *m)
     4  {
     5  	/* Calling cnd_timedwait with a null pointer is an extension.
     6  	 * It is convenient here to avoid duplication of the logic
     7  	 * for return values. */
     8  	return cnd_timedwait(c, m, 0);
     9  }