diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2004-04-19 19:41:13 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2004-04-19 19:41:13 +0000 |
commit | f9e8db240f53d9b6de873e1a8353934b3f075f5c (patch) | |
tree | d88391febb6696d459761981d0106abaff7e97f8 /winsup/cygwin | |
parent | 0c8731b8f43ff50700432767b34e67a11a713bff (diff) | |
download | newlib-f9e8db240f53d9b6de873e1a8353934b3f075f5c.zip newlib-f9e8db240f53d9b6de873e1a8353934b3f075f5c.tar.gz newlib-f9e8db240f53d9b6de873e1a8353934b3f075f5c.tar.bz2 |
* include/cygwin/mtio.h (GMT_ASYNC): New define.
(MT_ST_ASYNC_WRITES): Remove "Not supported" comment.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/include/cygwin/mtio.h | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 7870c32..080f991 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,10 @@ 2004-04-19 Corinna Vinschen <corinna@vinschen.de> + * include/cygwin/mtio.h (GMT_ASYNC): New define. + (MT_ST_ASYNC_WRITES): Remove "Not supported" comment. + +2004-04-19 Corinna Vinschen <corinna@vinschen.de> + * errno.cc (errmap): Handle ERROR_IO_PENDING. * fhandler.cc (fhandler_base::open): Make tape I/O asynchronous. * fhandler.h (class fhandler_dev_tape): Add mt_evt member. diff --git a/winsup/cygwin/include/cygwin/mtio.h b/winsup/cygwin/include/cygwin/mtio.h index 11e09f0..04d5df4 100644 --- a/winsup/cygwin/include/cygwin/mtio.h +++ b/winsup/cygwin/include/cygwin/mtio.h @@ -153,6 +153,7 @@ struct mtpos { #define GMT_AUTO_LOCK(x) ((x) & 0x00000020) /* auto door lock on r/w */ #define GMT_SYSV(x) ((x) & 0x00000010) /* SYSV read semantics */ #define GMT_NOWAIT(x) ((x) & 0x00000008) /* don't wait for positioning commands */ +#define GMT_ASYNC(x) ((x) & 0x00000004) /* asynchronous writes */ /* SCSI-tape specific definitions */ @@ -175,7 +176,7 @@ struct mtpos { #define MT_ST_EOT_WZ_SIZE 0xf0000000 /* Cygwin only */ #define MT_ST_BUFFER_WRITES 0x00000001 -#define MT_ST_ASYNC_WRITES 0x00000002 /* Not supported */ +#define MT_ST_ASYNC_WRITES 0x00000002 #define MT_ST_READ_AHEAD 0x00000004 /* Not supported */ #define MT_ST_DEBUGGING 0x00000008 /* Not supported */ #define MT_ST_TWO_FM 0x00000010 |