diff options
| author | Carlos O'Donell <carlos@systemhalted.org> | 2006-06-09 00:48:17 +0000 |
|---|---|---|
| committer | Carlos O'Donell <carlos@systemhalted.org> | 2006-06-09 00:48:17 +0000 |
| commit | 26be3bf7dea3c9afd39409f870c5a44dad8ba2c4 (patch) | |
| tree | 72ec8aa8f1dbb4413fdffd8026fc2ab620bcbcac | |
| parent | f5b8dd54a664c3b9c64a238093a8bfaa74e07d3e (diff) | |
| download | glibc-26be3bf7dea3c9afd39409f870c5a44dad8ba2c4.tar.xz glibc-26be3bf7dea3c9afd39409f870c5a44dad8ba2c4.zip | |
2006-06-08 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Reformat
(SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
Define.
| -rw-r--r-- | ChangeLog.hppa | 6 | ||||
| -rw-r--r-- | sysdeps/unix/sysv/linux/hppa/bits/fcntl.h | 17 |
2 files changed, 18 insertions, 5 deletions
diff --git a/ChangeLog.hppa b/ChangeLog.hppa index 3097ceb31b..32f0f3f045 100644 --- a/ChangeLog.hppa +++ b/ChangeLog.hppa @@ -1,3 +1,9 @@ +2006-06-08 Carlos O'Donell <carlos@systemhalted.org> + + * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Reformat + (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT): + Define. + 2006-05-24 Carlos O'Donell <carlos@systemhalted.org> * sysdeps/unix/sysv/linux/hppa/clone.S: .LerrorRest diff --git a/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h b/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h index e2bf526711..fc7075841b 100644 --- a/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h @@ -46,10 +46,10 @@ #ifdef __USE_GNU -# define O_DIRECT 00040000 /* direct disk access hint - currently ignored */ -# define O_DIRECTORY 00010000 /* must be a directory */ -# define O_NOFOLLOW 00000200 /* don't follow links */ -# define O_NOATIME 04000000 /* Do not set atime. */ +# define O_DIRECT 00040000 /* Direct disk access. */ +# define O_DIRECTORY 00010000 /* Must be a directory. */ +# define O_NOFOLLOW 00000200 /* Do not follow links. */ +# define O_NOATIME 04000000 /* Do not set atime. */ #endif #ifdef __USE_LARGEFILE64 @@ -76,7 +76,6 @@ # define F_SETLK F_SETLK64 /* Set record locking info (non-blocking). */ # define F_SETLKW F_SETLKW64 /* Set record locking info (blocking). */ #endif - #define F_GETLK64 8 /* Get record locking info. */ #define F_SETLK64 9 /* Set record locking info (non-blocking). */ #define F_SETLKW64 10 /* Set record locking info (blocking). */ @@ -184,6 +183,14 @@ struct flock64 # define SYNC_FILE_RANGE_WAIT_AFTER 4 /* Wait upon writeout of all pages in the range after performing the write. */ + +/* Flags for SPLICE and VMSPLICE. */ +# define SPLICE_F_MOVE 1 /* Move pages instead of copying. */ +# define SPLICE_F_NONBLOCK 2 /* Don't block on the pipe splicing + (but we may still block on the fd + we splice from/to). */ +# define SPLICE_F_MORE 4 /* Expect more data. */ +# define SPLICE_F_GIFT 8 /* Pages passed in are a gift. */ #endif __BEGIN_DECLS |
