#define MAX_BIN_BREAK_LENGTH (3072+384+1)
#ifndef _WIN32
+#include <sys/ttydefaults.h>
+
int ukbhit(void) {
int cnt = 0;
int error;
void num_to_bytes(uint64_t n, size_t len, uint8_t* dest) {
while (len--) {
- dest[len] = (uint8_t) n;
+ dest[len] = n & 0xFF;
n >>= 8;
}
}