diff options
author | Andreas Jaeger <aj@suse.de> | 2000-10-02 08:47:39 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-10-02 08:47:39 +0000 |
commit | 5b6fb6bce41dce15c7152a3ffdeddc084b2a8f78 (patch) | |
tree | 25844e2aa8e68f9ea579a73631ce1b8a76ef8f84 /sysdeps | |
parent | 3e1622ae33ba5f8afbd6c8e3608487f38beed71b (diff) | |
download | glibc-5b6fb6bce41dce15c7152a3ffdeddc084b2a8f78.tar.gz glibc-5b6fb6bce41dce15c7152a3ffdeddc084b2a8f78.tar.xz glibc-5b6fb6bce41dce15c7152a3ffdeddc084b2a8f78.zip |
Synch with Linux 2.4.0-test9-pre8.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/bits/fcntl.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h b/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h index 2b879dcd8f..55f8e74fc9 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h @@ -85,6 +85,12 @@ # define F_GETSIG 11 /* Get number of signal to be sent. */ #endif +#ifdef __USE_GNU +# define F_SETLEASE 1024 /* Set a lease. */ +# define F_GETLEASE 1025 /* Enquire what lease is active. */ +# define F_NOTIFY 1026 /* Request notfications on a directory. */ +#endif + /* for F_[GET|SET]FL */ #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ @@ -106,6 +112,24 @@ # define LOCK_UN 8 /* remove lock */ #endif +#ifdef __USE_GNU +# define LOCK_MAND 32 /* This is a mandatory flock: */ +# define LOCK_READ 64 /* ... which allows concurrent read operations. */ +# define LOCK_WRITE 128 /* ... which allows concurrent write operations. */ +# define LOCK_RW 192 /* ... Which allows concurrent read & write operations. */ +#endif + +#ifdef __USE_GNU +/* Types of directory notifications that may be requested with F_NOTIFY. */ +# define DN_ACCESS 0x00000001 /* File accessed. */ +# define DN_MODIFY 0x00000002 /* File modified. */ +# define DN_CREATE 0x00000004 /* File created. */ +# define DN_DELETE 0x00000008 /* File removed. */ +# define DN_RENAME 0x00000010 /* File renamed. */ +# define DN_ATTRIB 0x00000020 /* File changed attibutes. */ +# define DN_MULTISHOT 0x80000000 /* Don't remove notifier. */ +#endif + /* We don't need to support __USE_FILE_OFFSET64. */ struct flock { |