00001 /*! \file flock.h
00002 Header file for the file 'flock.c'.
00003 */
00004
00005 #ifdef __cplusplus
00006 extern "C" {
00007 #endif
00008
00009 #ifndef FLOCK_HEADER_FILE
00010 #define FLOCK_HEADER_FILE
00011
00012 #include <sys/file.h>
00013 #include <unistd.h>
00014 #include <sys/types.h>
00015 #include <sys/stat.h>
00016 #include <fcntl.h>
00017
00018 int lock_file(int fd);
00019 int unlock_file(int fd);
00020
00021 #endif
00022
00023 #ifdef __cplusplus
00024 }
00025 #endif
1.2.15