23 ,
const int irun,
const int iseq)
28 fd =
open(filename, O_WRONLY | O_CREAT | O_EXCL | O_LARGEFILE ,
29 S_IRWXU | S_IROTH | S_IRGRP );
57 ,
const int irun,
const int iseq)
108 if (evtsize <=0)
return -2;
140 unsigned int nw = data[0];
146 if (wstatus)
return wstatus;
175 if (wstatus)
return wstatus;
218 if (len < 0)
return 0;
243 ,
id , wordsize , hitformat);
244 if (len < 0)
return 0;
282 if (!
dirty)
return 0;
286 if (
fd < 0)
return 0;
290 char *cp = (
char *)
bptr;
297 std::cout <<
" could not write output, bytes written: " << n << std::endl;
317 if (! dirty)
return 0;
319 if (! has_end) addEoB();
321 if (
fd < 0)
return 0;
324 buffer_ptr
tmp = bptr_being_written;
325 bptr_being_written = bptr;
348 if (size < 0)
return -1;