projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f26d411fe145dcc57c266bcd6b2f50b4e060efeb
[musl]
/
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>>8&0xff00 | x<<8&0xff0000 | x<<24;
7
}