2019-08-30 17:08:56 -06:00
|
|
|
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <unistd.h>
|
2019-09-09 12:49:31 -06:00
|
|
|
#include <time.h>
|
|
|
|
#include <string>
|
|
|
|
|
2019-08-30 17:08:56 -06:00
|
|
|
struct EofException{};
|
|
|
|
size_t readn2(int fd, void* buffer, size_t len);
|
2019-09-09 12:49:31 -06:00
|
|
|
std::string humanTime(time_t t);
|