summaryrefslogtreecommitdiff
path: root/src/libstddjb/uint64_pack_big.c
blob: 811bd8f7b9ff4dd6feaa3c377f07266d6f81beef (plain)
1
2
3
4
5
6
7
8
9
10
11
/* ISC license. */

#include <string.h>

#include <skalibs/uint64.h>

void uint64_pack_big (char *s, uint64_t u)
{
  uint64_bigp(&u) ;
  memcpy(s, &u, sizeof(uint64_t)) ;
}