blob: 323e87aca55f1c1eef3272797fbdb9963a785330 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12#ifndef _LINUX_FCNTL_H
13#define _LINUX_FCNTL_H
Ben Cheng4b29af02012-03-07 16:14:53 -080014
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080015#include <asm/fcntl.h>
Ben Cheng4b29af02012-03-07 16:14:53 -080016
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080017#define F_SETLEASE (F_LINUX_SPECIFIC_BASE+0)
18#define F_GETLEASE (F_LINUX_SPECIFIC_BASE+1)
Ben Cheng4b29af02012-03-07 16:14:53 -080019
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080020#define F_NOTIFY (F_LINUX_SPECIFIC_BASE+2)
Ben Cheng4b29af02012-03-07 16:14:53 -080021
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080022#define DN_ACCESS 0x00000001
23#define DN_MODIFY 0x00000002
24#define DN_CREATE 0x00000004
25#define DN_DELETE 0x00000008
26#define DN_RENAME 0x00000010
27#define DN_ATTRIB 0x00000020
28#define DN_MULTISHOT 0x80000000
Ben Cheng4b29af02012-03-07 16:14:53 -080029
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080030#define AT_FDCWD -100
31#define AT_SYMLINK_NOFOLLOW 0x100
32#define AT_REMOVEDIR 0x200
33#define AT_SYMLINK_FOLLOW 0x400
Ben Cheng4b29af02012-03-07 16:14:53 -080034
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080035#endif