int qCountRead ( const char *  filepath  ) 

Read counter(integer) from file with advisory file locking.

Parameters:
filepath file path
Returns:
counter value readed from file. in case of failure, returns 0.
Note:
   int count;
   count = qCountRead("number.dat");

Definition at line 61 of file qCount.c.


Generated on Mon Mar 26 07:00:51 2018 for JSOC_Documentation by  doxygen 1.5.7.1