19 POS_NUM_EVE_NUM_NODES = 2,
34 gettimeofday(&tb, NULL);
35 tp = localtime(&tb.tv_sec);
36 sprintf(buf,
"%02d:%02d:%02d.%03d ",
37 tp->tm_hour, tp->tm_min, tp->tm_sec, (
int)(tb.tv_usec / 1000));
46 vector<unsigned int> buf(4000000);
47 int infn = fileno(stdin);
48 printf(
"infn = %d\n", infn);
52 int is = read(infn, &buf[0], 4);
56 printf(
"nw = %d (%8.8x)\n", nw, nw);
57 is = read(infn, &buf[1], (nw - 1) * 4);
59 perror(
"Error to read input");
62 printf(
"buf[0] =%8.8x, buf[1] = %8.8x, buf[nw-1] = %8.8x\n",
63 buf[0], buf[1], buf[nw - 1]);