gcc/libio
Martin v. Löwis dfe50efb43 fstream.h (ifstream::ifstream): Add ios::in to mode.
* fstream.h (ifstream::ifstream): Add ios::in to mode.
	(ifstream::open): Likewise.
	(ofstream::ofstream): Add ios::out to mode.
	(ofstream::open): Likewise.

From-SVN: r31666
2000-01-28 09:55:33 +00:00
..
config configure.in (*-*-beos*): Recognize. 2000-01-12 20:37:57 -05:00
dbz dbz.c, dbzmain.c: Include stdlib.h. 2000-01-28 01:21:49 +00:00
include Uli's libio/libstdc++ patches. 1997-09-16 10:01:55 -06:00
stdio configure.in, [...]: Update with yesterday's toplevel configure.in changes. 1998-01-28 02:30:03 -07:00
tests More FSF address updates. 1999-01-11 06:43:27 -07:00
testsuite libio.exp (test_libio): Use additional_flags, not additional_options. 1999-06-23 12:10:00 +00:00
ChangeLog fstream.h (ifstream::ifstream): Add ios::in to mode. 2000-01-28 09:55:33 +00:00
Makefile.in configure (gxx_include_dir): Removed. 1999-04-02 07:17:49 -07:00
NEWS release branch changes from 11-27 snapshot to egcs-1.0. 1997-12-05 15:13:17 -07:00
PlotFile.cc Initial revision 1997-08-21 18:57:35 -04:00
PlotFile.h Initial revision 1997-08-21 18:57:35 -04:00
README Initial revision 1997-08-21 18:57:35 -04:00
SFile.cc Initial revision 1997-08-21 18:57:35 -04:00
SFile.h Initial revision 1997-08-21 18:57:35 -04:00
builtinbuf.cc Initial revision 1997-08-21 18:57:35 -04:00
builtinbuf.h typo typo fixes fixes 1998-05-06 15:09:07 -06:00
cleanup.c Uli's libio/libstdc++ patches. 1997-09-16 10:01:55 -06:00
config.shared Makefile.in (iostream.list): Remove dependency on stamp-picdir. 1999-02-03 14:11:03 -07:00
configure.in configure.in (*-*-beos*): Recognize. 2000-01-12 20:37:57 -05:00
depend config.shared (depend.new): delete libc-lock.h from dependencies, and fix _G_config.h -> $(_G_CONFIG_H) rule 1998-10-12 09:28:02 +00:00
editbuf.cc * editbuf.cc, parsestream.cc, pfstream.cc: Include string.h. 1999-09-30 01:10:07 -06:00
editbuf.h Initial revision 1997-08-21 18:57:35 -04:00
filebuf.cc * filebuf.cc (open): Support ios::ate if _G_HAVE_IO_FILE_OPEN. 1999-12-21 18:10:24 +00:00
filedoalloc.c filedoalloc.c, [...]: Remove advertising clause from BSD license, pursuant with 1999-12-15 04:13:06 -05:00
fileops.c filedoalloc.c (_POSIX_SOURCE): Remove definition. 1999-04-12 12:27:53 -06:00
floatconv.c Initial revision 1997-08-21 18:57:35 -04:00
floatio.h filedoalloc.c, [...]: Remove advertising clause from BSD license, pursuant with 1999-12-15 04:13:06 -05:00
fstream.cc Initial revision 1997-08-21 18:57:35 -04:00
fstream.h fstream.h (ifstream::ifstream): Add ios::in to mode. 2000-01-28 09:55:33 +00:00
gen-params configure.in: Recognize target *vxworks* and add fragment vxworks.mt. 1999-09-27 11:39:43 -06:00
genops.c linuxlibc1.mt (MT_CFLAGS): Add -D_G_STDIO_USES_LIBIO -D_G_HAVE_WEAK_SYMBOL. 1999-03-04 17:19:16 -07:00
indstream.cc Initial revision 1997-08-21 18:57:35 -04:00
indstream.h Initial revision 1997-08-21 18:57:35 -04:00
ioassign.cc Initial revision 1997-08-21 18:57:35 -04:00
ioextend.cc Initial revision 1997-08-21 18:57:35 -04:00
iofclose.c linuxlibc1.mt (MT_CFLAGS): Add -D_G_STDIO_USES_LIBIO -D_G_HAVE_WEAK_SYMBOL. 1999-03-04 17:19:16 -07:00
iofdopen.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
iofeof.c linuxlibc1.mt (MT_CFLAGS): Add -D_G_STDIO_USES_LIBIO -D_G_HAVE_WEAK_SYMBOL. 1999-03-04 17:19:16 -07:00
ioferror.c linuxlibc1.mt (MT_CFLAGS): Add -D_G_STDIO_USES_LIBIO -D_G_HAVE_WEAK_SYMBOL. 1999-03-04 17:19:16 -07:00
iofflush.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
iofflush_u.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
iofgetpos.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
iofgets.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
iofopen.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
iofprintf.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
iofputs.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
iofread.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
iofscanf.c Initial revision 1997-08-21 18:57:35 -04:00
iofsetpos.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
ioftell.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
iofwrite.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
iogetc.c linuxlibc1.mt (MT_CFLAGS): Add -D_G_STDIO_USES_LIBIO -D_G_HAVE_WEAK_SYMBOL. 1999-03-04 17:19:16 -07:00
iogetdelim.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
iogetline.c (_IO_getline_info): Don't read anything for N==0. 1998-08-25 14:39:39 +00:00
iogets.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
ioignore.c Uli's libio/libstdc++ patches. 1997-09-16 10:01:55 -06:00
iolibio.h Changes for _G_IO_IO_FILE_VERSION == 0x20001: 1998-02-24 13:09:55 -07:00
iomanip.cc Initial revision 1997-08-21 18:57:35 -04:00
iomanip.h iomanip.h: Use __extension__ for `extern' explicit template instantiations. 1998-08-23 12:47:24 +00:00
iopadn.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
ioperror.c Uli's libio/libstdc++ patches. 1997-09-16 10:01:55 -06:00
iopopen.c filedoalloc.c (_POSIX_SOURCE): Remove definition. 1999-04-12 12:27:53 -06:00
ioprims.c fileops.c: #include <unistd.h>. 1998-02-12 16:56:20 -07:00
ioprintf.c Initial revision 1997-08-21 18:57:35 -04:00
ioputc.c linuxlibc1.mt (MT_CFLAGS): Add -D_G_STDIO_USES_LIBIO -D_G_HAVE_WEAK_SYMBOL. 1999-03-04 17:19:16 -07:00
ioputs.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
ioscanf.c Initial revision 1997-08-21 18:57:35 -04:00
ioseekoff.c Uli's libio/libstdc++ patches. 1997-09-16 10:01:55 -06:00
ioseekpos.c Uli's libio/libstdc++ patches. 1997-09-16 10:01:55 -06:00
iosetbuffer.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
iosetvbuf.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
iosprintf.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
iosscanf.c Initial revision 1997-08-21 18:57:35 -04:00
iostdio.h Initial revision 1997-08-21 18:57:35 -04:00
iostream.cc iostream.cc: Add missing calls to isfx and setup a cleanup region for the locked stream. 1999-08-07 00:02:05 -06:00
iostream.h iostream.cc: Add missing calls to isfx and setup a cleanup region for the locked stream. 1999-08-07 00:02:05 -06:00
iostream.texi typo typo fixes fixes 1998-05-06 15:09:07 -06:00
iostreamP.h Initial revision 1997-08-21 18:57:35 -04:00
iostrerror.c Uli's libio/libstdc++ patches. 1997-09-16 10:01:55 -06:00
ioungetc.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
iovfprintf.c filedoalloc.c, [...]: Remove advertising clause from BSD license, pursuant with 1999-12-15 04:13:06 -05:00
iovfscanf.c filedoalloc.c, [...]: Remove advertising clause from BSD license, pursuant with 1999-12-15 04:13:06 -05:00
iovsprintf.c linuxlibc1.mt (MT_CFLAGS): Add -D_G_STDIO_USES_LIBIO -D_G_HAVE_WEAK_SYMBOL. 1999-03-04 17:19:16 -07:00
iovsscanf.c linuxlibc1.mt (MT_CFLAGS): Add -D_G_STDIO_USES_LIBIO -D_G_HAVE_WEAK_SYMBOL. 1999-03-04 17:19:16 -07:00
isgetline.cc iostream.cc: Add missing calls to isfx and setup a cleanup region for the locked stream. 1999-08-07 00:02:05 -06:00
isgetsb.cc iostream.cc: Add missing calls to isfx and setup a cleanup region for the locked stream. 1999-08-07 00:02:05 -06:00
isscan.cc iostream.cc: Add missing calls to isfx and setup a cleanup region for the locked stream. 1999-08-07 00:02:05 -06:00
istream.h Initial revision 1997-08-21 18:57:35 -04:00
libio.h libio.h (_IO_cookie_io_functions_t): Use _IO_off_t instead of _IO_fpos_t. 1999-12-22 10:01:59 +01:00
libioP.h libio.h (_IO_cookie_io_functions_t): Use _IO_off_t instead of _IO_fpos_t. 1999-12-22 10:01:59 +01:00
osform.cc Uli's libio/libstdc++ patches. 1997-09-16 10:01:55 -06:00
ostream.h Initial revision 1997-08-21 18:57:35 -04:00
outfloat.c Uli's libio/libstdc++ patches. 1997-09-16 10:01:55 -06:00
parsestream.cc * editbuf.cc, parsestream.cc, pfstream.cc: Include string.h. 1999-09-30 01:10:07 -06:00
parsestream.h libio.h (_IO_cookie_io_functions_t): Use _IO_off_t instead of _IO_fpos_t. 1999-12-22 10:01:59 +01:00
peekc.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
pfstream.cc * editbuf.cc, parsestream.cc, pfstream.cc: Include string.h. 1999-09-30 01:10:07 -06:00
pfstream.h Initial revision 1997-08-21 18:57:35 -04:00
procbuf.cc filedoalloc.c (_POSIX_SOURCE): Remove definition. 1999-04-12 12:27:53 -06:00
procbuf.h Initial revision 1997-08-21 18:57:35 -04:00
sbform.cc Initial revision 1997-08-21 18:57:35 -04:00
sbgetline.cc linux.mt (IO_OBJECTS): Add iogetline.o. 1998-02-17 13:54:12 -07:00
sbscan.cc Initial revision 1997-08-21 18:57:35 -04:00
stdfiles.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
stdiostream.cc filedoalloc.c (_POSIX_SOURCE): Remove definition. 1999-04-12 12:27:53 -06:00
stdiostream.h Initial revision 1997-08-21 18:57:35 -04:00
stdstrbufs.cc * stdstrbufs.cc (DEF_STDFILE): Use STD_VTABLE. 1997-11-18 09:53:45 -07:00
stdstreams.cc Initial revision 1997-08-21 18:57:35 -04:00
stream.cc Initial revision 1997-08-21 18:57:35 -04:00
stream.h strstream.h (strstreambuf::streambuf): Rename parameters to avoid shadow warning. 1999-12-15 07:46:36 +00:00
streambuf.cc typo typo fixes fixes 1998-05-06 15:09:07 -06:00
streambuf.h libio.h (_IO_cookie_io_functions_t): Use _IO_off_t instead of _IO_fpos_t. 1999-12-22 10:01:59 +01:00
strfile.h Define __PMT if not already defined. 1998-08-17 12:32:45 +00:00
strops.c (_IO_str_underflow): Read newly available character from buffer as unsigned. 1998-05-22 20:40:02 +00:00
strstream.cc Initial revision 1997-08-21 18:57:35 -04:00
strstream.h strstream.h (strstreambuf::streambuf): Rename parameters to avoid shadow warning. 1999-12-15 07:46:36 +00:00

README

This is libio, the GNU C/C++ input/output library.

By default, the library is configured to build the C++ iostream
facility (in $libdir/libiostream.a).

The library can be configured to build the C stdio facility
that is part of a C run-time library.

This library is distributed with libg++; see ../libg++/README
for installation instructions, and where to send bug reports
and questions.

* Copyright restrictions

The files in this directory are generally covered by the GNU Public
License (which is in the file ../COPYING), but modified with the
following:

    As a special exception, if you link this library with files
    compiled with a GNU compiler to produce an executable, this does not cause
    the resulting executable to be covered by the GNU General Public License.
    This exception does not however invalidate any other reasons why
    the executable file might be covered by the GNU General Public License.

A few source files and subroutines are covered by other (but
less restrictive) copyright conditions.  E.g. some code (such
as iovfprintf.c) is based on software that was developed by the
University of California, Berkeley, for the Berkeley Software
Distribution (BSD-4.4), and bears their copyright;  and one
file (floatconv.c) is derived from ("free") code copyrighted AT&T.