projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
make pthread_create return EAGAIN on resource failure, as required by POSIX
[oweals/musl.git]
/
src
/
misc
/
bswap_32.c
1
#include <endian.h>
2
#include <stdint.h>
3
4
uint32_t bswap_32(uint32_t x)
5
{
6
return x>>24 | x>>16&0xff00 | x<<16&0xff0000 | x<<24;
7
}