s/qmail  3.3.23
Next generation secure email transport
lock_un.c
Go to the documentation of this file.
1 #include <sys/types.h>
2 #include <sys/file.h>
3 #include <fcntl.h>
4 #include "hasflock.h"
5 #include "lock.h"
6 
7 #ifdef HASFLOCK
8 int lock_un(int fd) { return flock(fd,LOCK_UN); }
9 #else
10 int lock_un(int fd) { return lockf(fd,0,0); }
11 #endif
int fd
Definition: idedit.c:16
int lock_un(int fd)
Definition: lock_un.c:10