fix strncpy(3) copy length
[fio.git] / filelock.h
1 #ifndef FIO_LOCK_FILE_H
2 #define FIO_LOCK_FILE_H
3
4 #include "lib/types.h"
5
6 extern void fio_lock_file(const char *);
7 extern bool fio_trylock_file(const char *);
8 extern void fio_unlock_file(const char *);
9
10 extern int fio_filelock_init(void);
11 extern void fio_filelock_exit(void);
12
13 #endif