summaryrefslogtreecommitdiff
path: root/win32/flock.h
blob: fe07adf9546ad41aa55f8970bc3cb3d24e4665c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
#define fsync _commit
#define ftruncate chsize

/* For flock() emulation */

#define LOCK_SH 1
#define LOCK_EX 2
#define LOCK_NB 4
#define LOCK_UN 8

extern int flock(int fd, int op);