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 - metrics - download

⟦790b02060⟧ TextFile

    Length: 363 (0x16b)
    Types: TextFile
    Names: »check.c«

Derivation

└─⟦060c9c824⟧ Bits:30007080 DKUUG TeX 2/12/89
    └─⟦this⟧ »./DVIware/crt-viewers/dviapollo/check.c« 
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
    └─⟦af5ba6c8e⟧ »unix3.0/DVIWARE.tar.Z« 
        └─⟦ca79c7339⟧ 
            └─⟦this⟧ »DVIware/crt-viewers/dviapollo/check.c« 

TextFile

#include <stdio.h>
/*This routine determines whether a given error code represents an error.  
If it does, then we print an error message and bomb.  If it doesn't, then
the code is the returned value of check.*/

int check (code)
int code;
{
  if (code < 0) {
    fprintf (stderr, "Unanticipated error:\n");
    perror ("");
    exit (1);
  }
  return (code);
}