chiark
/
gitweb
/
~mdw
/
qmail
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
qmail-send: Add message-id to bounce messages.
[qmail]
/
lock_un.c
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(fd) int fd; { return flock(fd,LOCK_UN); }
9
#else
10
int lock_un(fd) int fd; { return lockf(fd,0,0); }
11
#endif