20 ,
const int irun,
const int iseq)
25 fd =
open(filename, O_WRONLY | O_CREAT | O_EXCL | O_LARGEFILE ,
26 S_IRWXU | S_IROTH | S_IRGRP );
54 ,
const int irun,
const int iseq)
87 if (evtsize <=0)
return -2;
123 unsigned int nw = data[0];
129 if (wstatus)
return wstatus;
158 if (wstatus)
return wstatus;
180 if (len < 0)
return 0;
205 ,
id , wordsize , hitformat);
206 if (len < 0)
return 0;
242 if (size < 0)
return -1;
279 if (!
dirty)
return 0;
283 if (
fd < 0)
return 0;
287 char *cp = (
char *)
bptr;
294 std::cout <<
" could not write output, bytes written: " << n << std::endl;
314 if (! dirty)
return 0;
316 if (! has_end) addEoB();
318 if (
fd < 0)
return 0;
321 buffer_ptr
tmp = bptr_being_written;
322 bptr_being_written = bptr;