#include #include int mtx_unlock(mtx_t *mtx) { return pthread_mutex_unlock(mtx) == 0 ? thrd_success : thrd_error; } /* STDC(201112) */