DataMuseum.dk

Presents historical artifacts from the history of:

Commodore CBM-900

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

See our Wiki for more about Commodore CBM-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦e06900c92⟧ TextFile

    Length: 273 (0x111)
    Types: TextFile
    Notes: UNIX file
    Names: »mperr.c«

Derivation

└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code
    └─⟦f4b8d8c84⟧ UNIX V7 Filesystem
        └─ ⟦this⟧ »libmp/mperr.c« 

TextFile

#include <stdio.h>
#include "mprec.h"


/*
 *	Mperr issues the error message pointed at by "msg" and then
 *	exits returning a value of 1 (for unsuccessful execution).
 */

void
mperr(msg)
char *msg;
{
	fprintf(stderr, "mpx: %r", &msg);
	fprintf(stderr, "\n");
	exit(1);
}