#include <sys/file.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
Go to the source code of this file.
Functions | |
int | lock_file (int fd) |
Lock a file. More... | |
int | unlock_file (int fd) |
Unlock a file. More... |
Definition in file flock.h.
|
Lock a file.
Definition at line 13 of file flock.c. Referenced by packet_dump(). |
|
Unlock a file.
Definition at line 28 of file flock.c. Referenced by packet_dump(). |