Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

18 lines
288 B
C

// sys/file.h
// Copyright (c) 2022/10/19 Tomer Lev <tomerlev@microsoft.com>
// License open source MIT
#ifndef sys_file_h
#define sys_file_h
#include "../cfunc.h"
#define LOCK_SH 1
#define LOCK_EX 2
#define LOCK_NB 4
#define LOCK_UN 8
CFUNC int flock(int fd, int operation);
#endif