next up previous contents HEAsoft Home
Next: heautils Up: Overview of HEAdas Libraries Previous: heainit   Contents

heaio

headas_stdio.c Contains routines used to write diagnostic and error output to the standard HEAdas output/error streams (replacing C stdio routines):

int headas_printf(const char *, ...) Replaces the stdio printf() with identical arguments. Text is written to the location specified by the HEADASOUTPUT environment variable (if present) instead of to stdout.

int headas_chat(int, const char *, ...) Same as headas_printf() but takes an integer argument which specifies the threshold chatter level below which the text will not be output.

int pil_printf(const char *, ...) A substitute for printf() for internal use by PIL only. Should not be called by tasks directly. NOT CURRENTLY USED.

void headas_f77echo(const char *) A f77-callable version of headas_printf(). It is called hdecho() from Fortran programs.

void headas_f77err(const char *) A f77-callable version of fprintf(stderr, ...). Called hderr() from Fortran. This routine will write to the stderr stream (which may have been redirected via the HEADASERROR environment variable).

void headas_f77chat(int, const char *) A f77-callable version of headas_chat(). It is called hdchat() from Fortran.



Bryan Irby 2004-12-08