pthread_attr_setinheritsched.c\thread\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/thread/pthread_attr_setinheritsched.c
blob: ca264be7c4d969a9dd12cbd8a80c6a1911533473 (plain) (blame)
1
2
3
4
5
6
7
8
9
#include "pthread_impl.h"
#include "syscall.h"
int pthread_attr_setinheritsched(pthread_attr_t *a, int inherit)
{
	if (inherit > 1U) return EINVAL;
	a->_a_sched = inherit;
	return 0;
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月11日 08:47:51 +0000

AltStyle によって変換されたページ (->オリジナル) /