iconv: add euro symbol to GBK as single byte 0x80
[musl.git] / src / thread / pthread_barrierattr_setpshared.c
blobc2d2929dcf8e975fd8d743800eb78dfc2be4c9db
1 #include "pthread_impl.h"
3 int pthread_barrierattr_setpshared(pthread_barrierattr_t *a, int pshared)
5 if (pshared > 1U) return EINVAL;
6 a->__attr = pshared ? INT_MIN : 0;
7 return 0;