|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 363 (0x16b)
Types: TextFile
Names: »check.c«
└─⟦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«
#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);
}