
USR_LIBC_FUNC_DEF(int, pthread_attr_init, pthread_attr_t *attr)
USR_LIBC_FUNC_DEF(int, pthread_attr_destroy, pthread_attr_t *attr)
USR_LIBC_FUNC_DEF(int, pthread_attr_setdetachstate, pthread_attr_t *attr, int detachState)
USR_LIBC_FUNC_DEF(int, pthread_attr_getdetachstate, const pthread_attr_t *attr, int *detachState)
USR_LIBC_FUNC_DEF(int, pthread_attr_setscope, pthread_attr_t *attr, int scope)
USR_LIBC_FUNC_DEF(int, pthread_attr_getscope, const pthread_attr_t *attr, int *scope)
USR_LIBC_FUNC_DEF(int, pthread_attr_setinheritsched, pthread_attr_t *attr, int inherit)
USR_LIBC_FUNC_DEF(int, pthread_attr_getinheritsched, const pthread_attr_t *attr, int *inherit)
USR_LIBC_FUNC_DEF(int, pthread_attr_setschedpolicy, pthread_attr_t *attr, int policy)
USR_LIBC_FUNC_DEF(int, pthread_attr_getschedpolicy, const pthread_attr_t *attr, int *policy)
USR_LIBC_FUNC_DEF(int, pthread_attr_setschedparam, pthread_attr_t *attr, const struct sched_param *param)
USR_LIBC_FUNC_DEF(int, pthread_attr_getschedparam, const pthread_attr_t *attr, struct sched_param *param)
USR_LIBC_FUNC_DEF(int, pthread_attr_setstack, pthread_attr_t *a, void *addr, size_t size)
USR_LIBC_FUNC_DEF(int, pthread_attr_getstack, const pthread_attr_t *restrict a, void **restrict addr, size_t *restrict size)
USR_LIBC_FUNC_DEF(int, pthread_attr_setstacksize, pthread_attr_t *attr, size_t stackSize)
USR_LIBC_FUNC_DEF(int, pthread_attr_getstacksize, const pthread_attr_t *attr, size_t *stackSize)
//USR_LIBC_FUNC_DEF(int, sched_get_priority_min, int policy)
//USR_LIBC_FUNC_DEF(int, sched_get_priority_max, int policy)
USR_LIBC_FUNC_DEF(int, pthread_create, pthread_t *thread, const pthread_attr_t *attr, void *(*startRoutine)(void *), void *arg)
USR_LIBC_FUNC_DEF(int, pthread_setschedparam, pthread_t thread, int policy, const struct sched_param *param)
USR_LIBC_FUNC_DEF(int, pthread_getschedparam, pthread_t thread, int *policy, struct sched_param *param)
USR_LIBC_FUNC_DEF(pthread_t, pthread_self, void)
USR_LIBC_FUNC_DEF(int, pthread_cancel, pthread_t thread)
USR_LIBC_FUNC_DEF(int, pthread_join, pthread_t thread, void **retval)
USR_LIBC_FUNC_DEF(int, pthread_detach, pthread_t thread)
USR_LIBC_FUNC_DEF(void, pthread_exit, void *retVal)
//USR_LIBC_FUNC_DEF(int, pthread_setname_np,pthread_t thread, const char *name)
//USR_LIBC_FUNC_DEF(int, pthread_getname_np,pthread_t thread, char *buf, size_t buflen)
USR_LIBC_FUNC_DEF(int, memcmp, const void *vl, const void *vr, size_t n)
USR_LIBC_FUNC_DEF(void *, memcpy, void *restrict dest, const void *restrict src, size_t n)
USR_LIBC_FUNC_DEF(void *, memset, void *dest, int c, size_t n)
USR_LIBC_FUNC_DEF(int, strcmp, const char *l, const char *r)
USR_LIBC_FUNC_DEF(size_t, strlen, const char *s)
