summaryrefslogtreecommitdiff
path: root/win32/flock.h
blob: d228e855dc2a91740f8c2bf6ed59758053db6071 (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

PHPAPI int flock(int fd, int op);