projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
make spacing in x86_64 alltypes.h.sh more uniform with other archs
[musl]
/
src
/
thread
/
pthread_mutexattr_setrobust.c
1
#include "pthread_impl.h"
2
3
int pthread_mutexattr_setrobust(pthread_mutexattr_t *a, int robust)
4
{
5
if (robust > 1U) return EINVAL;
6
*a &= ~4;
7
*a |= robust*4;
8
return 0;
9
}