Updated PCI IDs to latest snapshot.
[tangerine.git] / compiler / clib / include / sys / file.h
blob15bcc31108f8f01cb71240f6754f324dbf4954bd
1 #ifndef _SYS__FILE_H_
2 #define _SYS__FILE_H_
3 /*
4 Copyright © 2008, The AROS Development Team. All rights reserved.
5 $Id$
7 Desc: 4.4BSD header file sys/stat.h
8 Lang: english
9 */
11 /* flock() operations */
13 #ifndef SYS_TYPES_H
14 #include <sys/types.h>
15 #endif
17 #define LOCK_SH 1 /* Shared lock. */
18 #define LOCK_EX 2 /* Exclusive lock. */
19 #define LOCK_UN 8 /* Unlock. */
21 /* operation modifiers (combined with OR) */
23 #define LOCK_NB 4 /* Non-blocking operation */
25 /* function declarations */
27 __BEGIN_DECLS
29 int flock (int fd, int operation);
31 __END_DECLS
33 #endif /* _SYS__FILE_H_ */