20 #ifndef __TOOLS_FLOCK_H 21 #define __TOOLS_FLOCK_H 42 FILE *
flopen(
const char *path,
const char *mode, FILE **fp);
55 FILE *
fltryopen(
const char *path,
const char *mode, FILE **fp);
int flclose(FILE *fp)
close file openned by flopen() or fltryopen()
FILE * flopen(const char *path, const char *mode, FILE **fp)
open and lock file
FILE * fltryopen(const char *path, const char *mode, FILE **fp)
open and try lock file