Debian Codegraph @

debian/external_deps/fetk/punc/tools/tests/vf2c/mainc.c

raw
1 /* mainf.f -- translated by f2c (version 20030320).
2 You must link the resulting object file with the libraries:
3 -lf2c -lm (in that order)
4 */
5
6 #include <punc/vf2c.h>"
7
8 /* Table of constant values */
9
10 static integer c__9 = 9;
11 static integer c__1 = 1;
12
13 /* * *************************************************************************** */
14 /* * PUNC = < Portable Understructure for Numerical Computing > */
15 /* * Copyright (C) 1994-- Michael Holst */
16 /* * */
17 /* * This program is free software; you can redistribute it and/or modify it */
18 /* * under the terms of the GNU General Public License as published by the */
19 /* * Free Software Foundation; either version 2 of the License, or (at your */
20 /* * option) any later version. */
21 /* * */
22 /* * This program is distributed in the hope that it will be useful, */
23 /* * but WITHOUT ANY WARRANTY; without even the implied warranty of */
24 /* * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */
25 /* * See the GNU General Public License for more details. */
26 /* * */
27 /* * You should have received a copy of the GNU General Public License along */
28 /* * with this program; if not, write to the Free Software Foundation, Inc., */
29 /* * 675 Mass Ave, Cambridge, MA 02139, USA. */
30 /* * */
31 /* * rcsid="$Id: mainc.c,v 1.6 2010/08/12 05:53:15 fetk Exp $" */
32 /* * *************************************************************************** */
33 /* * *************************************************************************** */
34 /* * File: mainf.f */
35 /* * */
36 /* * Purpose: Driver program for testing the VF2C. */
37 /* * */
38 /* * Author: Michael Holst */
39 /* * *************************************************************************** */
40 /* Main program */ int MAIN__(void)
41 {
42 /* Builtin functions */
43 integer s_wsle(cilist *), do_lio(integer *, integer *, char *, ftnlen),
44 e_wsle(void);
45 /* Subroutine */ int s_stop(char *, ftnlen);
46
47 /* Fortran I/O blocks */
48 static cilist io___1 = { 0, 6, 0, 0, 0 };
49
50
51 s_wsle(&io___1);
52 do_lio(&c__9, &c__1, "Hello, Word!", (ftnlen)12);
53 e_wsle();
54 s_stop("", (ftnlen)0);
55 return 0;
56 } /* MAIN__ */
57
58 /* Main program alias */ int main () { MAIN__ (); return 0; }