mailing list of musl libc
 help / color / mirror / code / Atom feed
8c7a1e26b8943e7011d90cf07ad9eae74b21e8e5 blob 199 bytes (raw)

1
2
3
4
5
6
7
8
9
 
#include "pthread_impl.h"

int pthread_mutexattr_setpshared(pthread_mutexattr_t *a, int pshared)
{
	if (pshared > 1U) return EINVAL;
	a->__attr &= 0x7fffffff;
	a->__attr |= pshared<<31;
	return 0;
}
debug log:

solving 8c7a1e2 ...
found 8c7a1e2 in https://git.vuxu.org/mirror/musl/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).