DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T e

⟦230dc555e⟧ TextFile

    Length: 979 (0x3d3)
    Types: TextFile
    Names: »error.h++«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/euug-87hel/sec1/image/varc++/error.h++« 

TextFile

/*
    This contains the definitions for the error handling routines 
    I do not contain this file in my error handling routines so that
    the extern definition of error_occured does not screw things up
*/

/*
    flag that indicates an error occured
*/
extern char error_occured;

/*
    Indicates an error occured and adds an error string to the
    set of error strings
*/
void
indicate_error(const char error_string[]);

/*
    Prints a set of error messages and aborts
*/
void
print_errors_and_abort();

/*
    Prints a set of error messages and exits with specified code
*/
void
print_errors_and_exit( const int exit_code);

/*
    Returns a system error string (to replace perror
*/
const char *
system_error_string();
/*
Copyright (C) 1986, David Sher in the University of Rochester
Permission is granted to any individual or institution to use, copy, or
redistribute this software so long as it is not sold for profit, provided
this copyright notice is retained.
*/