gtkIOStream  1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
xermsg.c
Go to the documentation of this file.
1 /* xermsg.f -- translated by f2c (version 20061008).
2  You must link the resulting object file with libf2c:
3  on Microsoft Windows system, link with libf2c.lib;
4  on Linux or Unix systems, link with .../path/to/libf2c.a -lm
5  or, if you install libf2c.a in a standard place, with -lf2c -lm
6  -- in that order, at the end of the command line, as in
7  cc *.o -lf2c -lm
8  Source for libf2c is in /netlib/f2c/libf2c.zip, e.g.,
9 
10  http://www.netlib.org/f2c/libf2c.zip
11 */
12 
13 #include "f2c.h"
14 
15 /* Table of constant values */
16 
17 static integer c__1 = 1;
18 
19 /* Subroutine */ int xermsg_(char *libname, char *subname, char *errmsg,
20  integer *errcode, integer *retcode, ftnlen libname_len, ftnlen
21  subname_len, ftnlen errmsg_len)
22 {
23  /* Builtin functions */
24  integer s_wsfe(cilist *), do_fio(integer *, char *, ftnlen), e_wsfe(void);
25 
26  /* Fortran I/O blocks */
27  static cilist io___1 = { 0, 6, 0, "(1X, A, ':', A, ':', 1X, A)", 0 };
28  static cilist io___2 = { 0, 6, 0, "(1X, 'ERRORCODE = ', I)", 0 };
29  static cilist io___3 = { 0, 6, 0, "(1X, 'RETCODE = ', I)", 0 };
30 
31 
32 
33 /* only print fatal errors */
34 
35  if (*retcode > 0) {
36  s_wsfe(&io___1);
37  do_fio(&c__1, libname, libname_len);
38  do_fio(&c__1, subname, subname_len);
39  do_fio(&c__1, errmsg, errmsg_len);
40  e_wsfe();
41  s_wsfe(&io___2);
42  do_fio(&c__1, (char *)&(*errcode), (ftnlen)sizeof(integer));
43  e_wsfe();
44  s_wsfe(&io___3);
45  do_fio(&c__1, (char *)&(*retcode), (ftnlen)sizeof(integer));
46  e_wsfe();
47  }
48 
49  return 0;
50 } /* xermsg_ */
51 
static integer c__1
Definition: xermsg.c:17
int xermsg_(char *libname, char *subname, char *errmsg, integer *errcode, integer *retcode, ftnlen libname_len, ftnlen subname_len, ftnlen errmsg_len)
Definition: xermsg.c:19
gtkIOStream: /tmp/gtkiostream/futureInclusions/cubicInterp/xermsg.c Source File
GTK+ IOStream  Beta