file locking: check return value of fcntl ()
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
int lock_file (FILE *fp);
|
||||
void unlock_file (FILE *fp);
|
||||
int lock_file (FILE *fp);
|
||||
int unlock_file (FILE *fp);
|
||||
|
||||
#endif // _LOCKING_H
|
||||
|
||||
Reference in New Issue
Block a user