1570af302Sopenharmony_ci#include "pthread_impl.h" 2570af302Sopenharmony_ci#include "syscall.h" 3570af302Sopenharmony_ci 4570af302Sopenharmony_ciint pthread_attr_setinheritsched(pthread_attr_t *a, int inherit) 5570af302Sopenharmony_ci{ 6570af302Sopenharmony_ci if (inherit > 1U) return EINVAL; 7570af302Sopenharmony_ci a->_a_sched = inherit; 8570af302Sopenharmony_ci return 0; 9570af302Sopenharmony_ci} 10