gcc/libio
H.J. Lu 3c1493a855 linux.mt (IO_OBJECTS): Add iogetline.o.
* config/linux.mt (IO_OBJECTS): Add iogetline.o.
        * config/linuxlibc1.mt: Ditto.
        * iogetline.c (_IO_getline_info): Renamed from _IO_getline.
        (_IO_getline): Just call _IO_getline_info.
        * isgetline.cc (istream::getline, istream::get, _sb_readline):
        Call _IO_getline_info instead of _IO_getline and get the EOF
        information.
        * sbgetline.cc (streambuf::sgetline): Ditto.
        * libioP.h (_IO_getline_info): New declaration.
        * iogetline.c (_IO_getline): Handle the case when there is no
        buffer.

From-SVN: r18042
1998-02-17 13:54:12 -07:00
..
config linux.mt (IO_OBJECTS): Add iogetline.o. 1998-02-17 13:54:12 -07:00
dbz dbz.c (putconf): Handle systems which use "long long" as type for "off_t". 1998-02-01 05:20:13 -07: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 configure.in, [...]: Update with yesterday's toplevel configure.in changes. 1998-01-28 02:30:03 -07:00
testsuite configure.in, [...]: Update with yesterday's toplevel configure.in changes. 1998-01-28 02:30:03 -07:00
ChangeLog linux.mt (IO_OBJECTS): Add iogetline.o. 1998-02-17 13:54:12 -07:00
Makefile.in Makefile.in (insatll): Change gxx_includedir to gcc_include_dir. 1997-11-27 01:39:12 -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 Initial revision 1997-08-21 18:57:35 -04:00
cleanup.c Uli's libio/libstdc++ patches. 1997-09-16 10:01:55 -06:00
config.shared config.shared (FLAGS_TO_PASS): Don't emit PICFLAG. 1998-02-05 17:34:27 -07:00
configure.in config.shared: Emit everything which needs to be re-definable via file descriptor 1... 1998-01-27 15:25:13 -07:00
depend Uli's libio/libstdc++ patches. 1997-09-16 10:01:55 -06:00
editbuf.cc Initial revision 1997-08-21 18:57:35 -04:00
editbuf.h Initial revision 1997-08-21 18:57:35 -04:00
filebuf.cc filebuf.cc (filebuf::open): Call _IO_file_open if _G_HAVE_IO_FILE_OPEN is 1. 1998-02-01 05:29:15 -07:00
filedoalloc.c configure.in: Create compatibility code in bits/libc-lock.h file. 1997-10-16 09:30:26 -06:00
fileops.c fileops.c: #include <unistd.h>. 1998-02-12 16:56:19 -07:00
floatconv.c Initial revision 1997-08-21 18:57:35 -04:00
floatio.h Initial revision 1997-08-21 18:57:35 -04:00
fstream.cc Initial revision 1997-08-21 18:57:35 -04:00
fstream.h Initial revision 1997-08-21 18:57:35 -04:00
gen-params iostream.cc (istream::operator>>(long double&)): Scan value into separate variable, in case long double is bigger than double. 1998-02-01 05:44:52 -07:00
genops.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04: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 configure.in: Create compatibility code in bits/libc-lock.h file. 1997-10-16 09:30:26 -06:00
iofdopen.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
iofeof.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
ioferror.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04: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 Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
iogetdelim.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
iogetline.c linux.mt (IO_OBJECTS): Add iogetline.o. 1998-02-17 13:54:12 -07: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 Uli's libio/libstdc++ patches. 1997-09-16 10:01:55 -06:00
iomanip.cc Initial revision 1997-08-21 18:57:35 -04:00
iomanip.h iomanip.h: Fix guiding decls. 1997-11-11 04:43:06 -05: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 Uli's libio/libstdc++ patches. 1997-09-16 10:01:55 -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 Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04: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 (ostream::operator<<(long double)): Don't use labeled initializers. 1998-02-10 19:35:01 -05:00
iostream.h Uli's libio/libstdc++ patches. 1997-09-16 10:01:55 -06:00
iostream.texi Initial revision 1997-08-21 18:57:35 -04: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 Uli's libio/libstdc++ patches. 1997-09-16 10:01:55 -06:00
iovfscanf.c Uli's libio/libstdc++ patches. 1997-09-16 10:01:55 -06:00
iovsprintf.c configure.in: Create compatibility code in bits/libc-lock.h file. 1997-10-16 09:30:26 -06:00
iovsscanf.c libio.h (_IO_LOCK_T): Handle glibc 2 when _IO_MTSAFE_IO is not defined. 1997-10-22 19:17:58 -06:00
isgetline.cc linux.mt (IO_OBJECTS): Add iogetline.o. 1998-02-17 13:54:12 -07:00
isgetsb.cc Initial revision 1997-08-21 18:57:35 -04:00
isscan.cc Initial revision 1997-08-21 18:57:35 -04:00
istream.h Initial revision 1997-08-21 18:57:35 -04:00
libio.h filebuf.cc (filebuf::open): Call _IO_file_open if _G_HAVE_IO_FILE_OPEN is 1. 1998-02-01 05:29:15 -07:00
libioP.h linux.mt (IO_OBJECTS): Add iogetline.o. 1998-02-17 13:54:12 -07: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 Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
parsestream.h Initial revision 1997-08-21 18:57:35 -04:00
peekc.c Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
pfstream.cc Initial revision 1997-08-21 18:57:35 -04:00
pfstream.h Initial revision 1997-08-21 18:57:35 -04:00
procbuf.cc Initial revision 1997-08-21 18:57:35 -04: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 stdiostream.cc (sys_read): Declare ch with int type, rather than without a type. 1997-12-11 11:31:56 -07: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 Initial revision 1997-08-21 18:57:35 -04:00
streambuf.cc streambuf.cc (streambuf::~streambuf): Don't delete _lock for _IO_stdin/_IO_stdout/_IO_stderr. 1997-12-06 00:32:08 -07:00
streambuf.h filebuf.cc (filebuf::open): Call _IO_file_open if _G_HAVE_IO_FILE_OPEN is 1. 1998-02-01 05:29:15 -07:00
strfile.h Insert libio rewrite and its various changes from devo. 1997-09-06 03:44:38 -04:00
strops.c Fix all problems reported by the test suite. 1997-09-17 02:10:30 +00:00
strstream.cc Initial revision 1997-08-21 18:57:35 -04:00
strstream.h Initial revision 1997-08-21 18:57:35 -04: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.