You should have received a copy of the GNU General Public License
along with Libgfortran; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
+the Free Software Foundation, 51 Franklin Street, Fifth Floor,
+Boston, MA 02110-1301, USA. */
/* As a special exception, if you link this library with other files,
some of which are compiled with GCC, to produce an executable,
#include <setjmp.h>
#include "libgfortran.h"
-#define DEFAULT_TEMPDIR "/var/tmp"
+#define DEFAULT_TEMPDIR "/tmp"
/* Basic types used in data transfers. */
CHARACTER (namelist_name);
GFC_INTEGER_4 namelist_read_mode;
+ /* iomsg */
+ CHARACTER (iomsg);
+
#undef CHARACTER
}
st_parameter;
extern int is_seekable (stream *);
internal_proto(is_seekable);
+extern int is_preconnected (stream *);
+internal_proto(is_preconnected);
+
extern void empty_internal_buffer(stream *);
internal_proto(empty_internal_buffer);
extern try flush (stream *);
internal_proto(flush);
+extern int stream_isatty (stream *);
+internal_proto(stream_isatty);
+
+extern char * stream_ttyname (stream *);
+internal_proto(stream_ttyname);
+
extern int unit_to_fd (int);
internal_proto(unit_to_fd);
+extern int unpack_filename (char *, const char *, int);
+internal_proto(unpack_filename);
+
/* unit.c */
extern void insert_unit (gfc_unit *);
extern void read_l (fnode *, char *, int);
internal_proto(read_l);
-extern void read_x (fnode *);
+extern void read_x (int);
internal_proto(read_x);
extern void read_radix (fnode *, char *, int, int);
extern void write_o (fnode *, const char *, int);
internal_proto(write_o);
-extern void write_x (fnode *);
+extern void write_x (int, int);
internal_proto(write_x);
extern void write_z (fnode *, const char *, int);
extern void list_formatted_write (bt, void *, int);
internal_proto(list_formatted_write);
+/* error.c */
+extern try notify_std (int, const char *);
+internal_proto(notify_std);
+
#endif