NAME

auxputch - put parameter into auxilary file


SYNOPSIS

int auxputch(name, type, val, tag)


INPUT PARAMETERS

name - char*
      name variable name
type- char*
      format ((d our i),(f or r),(g or s))
val - void*
      variable value of variable
tag - char*
      tag of history file


RETURN VALUE

0 = if successful


DESCRIPTION

Writes Parameters to an auxilary history file


COMMENTS

This function is a seplib companion to the input routine auxpar. Auxputch writes or appends values to the auxiliary history file Possible format conversions are ``d'' (or ``i''), ``f'' (or ``r''), ``g'' and ``s'' for integer, floating point, double precision, and strings respectively.

The default auxiliary output header name given in string `tag' for the auxiliary output header may be overriden by coding `tag=header_file' on the command line. (This is the same action taken by snap.) The output header file is created if necessary.

Examples: from C: auxputch ( ``int'', ``i'', &int, ``tag'') auxputch ( ``int'', ``d'', &int, ``tag'') auxputch ( ``float'', ``f'', &float, ``tag'') auxputch ( ``float'', ``r'', &float, ``tag'') auxputch ( ``name'', ``s'', ``name'', ``tag'')

from Fortran: call auxputch ( 'int', 'i', int, 'tag') call auxputch ( 'int', 'd', int, 'tag') call auxputch ( 'float', 'f', float, 'tag') call auxputch ( 'float', 'r', float, 'tag') call auxputch ( 'name', 's', 'name', 'tag')


SEE ALSO

the auxpar manpage, the slice manpage, the auxclose manpage,the putch manpage


DIAGNOSTICS

Program execution is terminated when an invalid format is passed. Not all sequences of auxout) and auxputch have been tested.


KEYWORDS

auxillary header parameter output


LIBRARY

sep