conclusion

This commit is contained in:
pommicket 2022-02-20 13:18:21 -08:00
parent 0f97a589b8
commit 9bc8a11afe
1069 changed files with 48694 additions and 11 deletions

View file

@ -0,0 +1,10 @@
#include <netinet/in.h>
uint32_t htonl(uint32_t n)
{
union {
uint8_t b[4];
uint32_t i;
} u = { { n>>24, n>>16, n>>8, n } };
return u.i;
}