newlib/winsup/cygwin/include
Corinna Vinschen dee563095d * errno.cc (errmap): Map ERROR_SHARING_VIOLATION to EBUSY,
ERROR_EOM_OVERFLOW and ERROR_NO_DATA_DETECTED to EIO.  Add mappings
	for ERROR_NO_MEDIA_IN_DRIVE, ERROR_DEVICE_REQUIRES_CLEANING and
	ERROR_DEVICE_DOOR_OPEN.
	* fhandler.h (class fhandler_dev_raw): Drop varblkop member.
	(fhandler_dev_raw::is_eom): De-virtualize.
	(fhandler_dev_raw::is_eof): Ditto.
	(class fhandler_dev_tape): Drop lasterr and dp member.  Add mt_mtx
	member.  Drop all private methods formerly used by ioctl.
	(fhandler_dev_tape::is_rewind_device): Use get_minor for clarity.
	(fhandler_dev_tape::driveno): New method.
	(fhandler_dev_tape::drive_init): New method.
	(fhandler_dev_tape::clear): Remove method.
	(fhandler_dev_tape::is_eom): Ditto.
	(fhandler_dev_tape::is_eof): Ditto.
	(fhandler_dev_tape::write_file): Ditto.
	(fhandler_dev_tape::read_file): Ditto.
	(fhandler_dev_tape::_lock): New method.
	(fhandler_dev_tape::unlock): New method.
	(fhandler_dev_tape::raw_read): New method.
	(fhandler_dev_tape::raw_write): New method.
	* fhandler_raw.cc (fhandler_dev_raw::is_eom): New method.
	(fhandler_dev_raw::is_eof): New method.
	(fhandler_dev_raw::open): Allow setting write through option by
	using the O_TEXT flag as ... flag.
	(fhandler_dev_raw::writebuf): Remove usage of varblkop and other
	tape specific code.
	(fhandler_dev_raw::raw_read): Ditto.
	(fhandler_dev_raw::dup): Ditto.
	* fhandler_tape.cc: Rewrite tape operations entirely.  Implement
	new tape driver classes mtinfo, mtinfo_drive and mtinfo_part.
	Reduce fhandler_dev_tape methods to mostly just calling appropriate
	mtinfo_drive methods.
	(mtinfo_init): New function adding the mtinfo shared memory area.
	* mtinfo.h: New file, containing the definition of the new tape
	driver classes.
	* shared.cc: Include mtinfo.h.
	(offsets): Add entry for mtinfo shared memory area.
	(memory_init): Call mtinfo_init.
	* shared_info.h (shared_locations): Add SH_MTINFO shared location.
	* include/cygwin/mtio.h: Change and add various comments.  Add GMT_xxx
	macros for new generic flags.  Add MT_ST_xxx bitfield definitions
	for MTSETDRVBUFFER ioctl.
	* include/cygwin/version.h: Bump API minor version number.
2004-03-26 21:43:49 +00:00
..
arpa * include/cygwin/in.h (in_attr_t): Define new type. 2003-02-10 22:43:29 +00:00
asm * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
cygwin * errno.cc (errmap): Map ERROR_SHARING_VIOLATION to EBUSY, 2004-03-26 21:43:49 +00:00
net * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
netinet * include/netinet/ip.h: Include netinet/in_systm.h and netinet/in.h 2003-04-25 08:32:30 +00:00
sys add missing files 2004-03-26 21:17:07 +00:00
a.out.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
dlfcn.h Update copyrights. 2001-09-11 20:01:02 +00:00
err.h * bsdlib.cc (_vwarnx): New function. 2003-11-06 21:31:24 +00:00
exceptions.h * pinfo.cc (codepage_init): Move function. 2001-01-08 04:02:02 +00:00
fcntl.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
features.h * features.h: Reinstate as wrapper for sys/features.h. 2001-04-22 23:18:28 +00:00
fnmatch.h 2002-02-28 Robert Collins <rbtcollins@hotmail.com> 2002-02-28 14:30:38 +00:00
getopt.h * Makefile.in (DLL_OFILES): Add getopt.o and iruserok.o. 2003-09-10 19:13:05 +00:00
glob.h * glob.c (stat32_to_STAT): New function. 2002-03-15 10:12:31 +00:00
icmp.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
inttypes.h * include/inttypes.h: New file. 2003-04-22 14:55:01 +00:00
io.h * include/io.h: Add access declaration. 2001-09-17 21:29:19 +00:00
lastlog.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
limits.h * exceptions.cc (setup_handler): Signal event for any sigwaitinfo if it exists 2004-02-26 05:10:49 +00:00
mapi.h Update copyrights. 2001-09-11 20:01:02 +00:00
memory.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
mntent.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
netdb.h revert erroneous checkin 2002-06-10 19:59:19 +00:00
paths.h * include/paths.h: Add some missing entries. 2003-09-25 03:46:20 +00:00
poll.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
pthread.h * include/pthread.h (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): 2004-03-04 21:04:14 +00:00
pty.h * Makefile.in (DLL_OFILES): Add bsdlib.o. 2003-09-10 15:51:59 +00:00
sched.h * configure.in: Remove PTH_ALLOW. 2001-04-12 04:04:53 +00:00
semaphore.h * cygwin.din: Add sem_close, sem_getvalue, sem_open and sem_timedwait. 2003-10-27 11:48:29 +00:00
stdint.h * include/stdint.h: Prevent signed->unsigned conversion for 32 and 2003-10-29 08:43:10 +00:00
strings.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
sysexits.h * include/sysexits: New file. 2000-12-10 22:19:50 +00:00
syslog.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
termio.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
tzfile.h * include/tzfile.h: Remove duplicate definition of TM_SUNDAY. 2003-12-01 10:39:17 +00:00