1#include "cache.h"
23
int main(int argc, const char **argv)
4{
5struct cache_header hdr;
6int version;
78
memset(&hdr,0,sizeof(hdr));
9if (read(0, &hdr, sizeof(hdr)) != sizeof(hdr))
10return 0;
11version = ntohl(hdr.hdr_version);
12printf("%d\n", version);
13return 0;
14}