res_send: use a temp buffer if caller's buffer is under 512 bytes
[musl] / src / thread / pthread_spin_trylock.c
1 #include "pthread_impl.h"
2 #include <errno.h>
3
4 int pthread_spin_trylock(pthread_spinlock_t *s)
5 {
6         return a_cas(s, 0, EBUSY);
7 }