mirror of git://sourceware.org/git/glibc.git
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Copy in i386/bits/fcntl.h.
This commit is contained in:
parent
62f6b9b2bb
commit
88fe017b92
|
|
@ -1,3 +1,7 @@
|
||||||
|
2006-02-28 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Copy in i386/bits/fcntl.h.
|
||||||
|
|
||||||
2006-02-27 Roland McGrath <roland@redhat.com>
|
2006-02-27 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
* scripts/config.guess: Update from master, timestamp='2006-02-27'.
|
* scripts/config.guess: Update from master, timestamp='2006-02-27'.
|
||||||
|
|
|
||||||
|
|
@ -90,6 +90,12 @@
|
||||||
# define F_GETSIG 11 /* Get number of signal to be sent. */
|
# define F_GETSIG 11 /* Get number of signal to be sent. */
|
||||||
#endif
|
#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. */
|
/* For F_[GET|SET]FL. */
|
||||||
#define FD_CLOEXEC 1 /* actually anything with low bit set goes */
|
#define FD_CLOEXEC 1 /* actually anything with low bit set goes */
|
||||||
|
|
||||||
|
|
@ -111,6 +117,24 @@
|
||||||
# define LOCK_UN 8 /* remove lock */
|
# define LOCK_UN 8 /* remove lock */
|
||||||
#endif
|
#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
|
||||||
|
|
||||||
struct flock
|
struct flock
|
||||||
{
|
{
|
||||||
short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */
|
short int l_type; /* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK. */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue