get->mt_defblksize = dp.DefaultBlockSize;
get->mt_featureslow = dp.FeaturesLow;
get->mt_featureshigh = dp.FeaturesHigh;
+ get->mt_eotwarningzonesize = dp.EOTWarningZoneSize;
return 0;
}
#include <sys/ioctl.h>
#include <asm/socket.h>
+#ifndef DEFTAPE
+#define DEFTAPE "/dev/tape"
+#endif
+
/*
* Structures and definitions for mag tape io control commands
*/
* Cygwin: remaining KB.
*/
/* the following registers are device dependent */
- long mt_dsreg; /* status register */
+ long mt_dsreg; /* status register, Cygwin returns current
+ blocksize here. */
long mt_gstat; /* generic (device independent) status */
long mt_erreg; /* error register */
/* The next two fields are not always used */
int mt_defblksize;
unsigned long mt_featureslow;
unsigned long mt_featureshigh;
+ unsigned long mt_eotwarningzonesize;
};
/* structure for MTIOCPOS - mag tape get position command */
44: Export dirfd
45: perprocess change, gamma_r, gammaf_r, lgamma_r, lgammaf_r
46: Remove cygwin_getshared
+ 47: Report EOTWarningZoneSize in struct mtget.
*/
#define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 46
+#define CYGWIN_VERSION_API_MINOR 47
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible